File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,6 @@ def get_my_best_block(self) -> _HeightInfo:
351
351
bestblock = self .tx_storage .get_best_block ()
352
352
assert bestblock .hash is not None
353
353
meta = bestblock .get_metadata ()
354
- # assert not meta.voided_by
355
354
assert meta .validation .is_fully_connected ()
356
355
return _HeightInfo (height = bestblock .get_height (), id = bestblock .hash )
357
356
@@ -840,7 +839,6 @@ def handle_get_best_block(self, payload: str) -> None:
840
839
best_block = self .tx_storage .get_best_block ()
841
840
meta = best_block .get_metadata ()
842
841
assert meta .validation .is_fully_connected ()
843
- # assert not meta.voided_by
844
842
data = {'block' : best_block .hash_hex , 'height' : meta .height }
845
843
self .send_message (ProtocolMessages .BEST_BLOCK , json .dumps (data ))
846
844
You can’t perform that action at this time.
0 commit comments