Skip to content

Commit f880a62

Browse files
committed
review changes
1 parent cbba621 commit f880a62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hathor/p2p/sync_v2/agent.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ def get_my_best_block(self) -> _HeightInfo:
351351
bestblock = self.tx_storage.get_best_block()
352352
assert bestblock.hash is not None
353353
meta = bestblock.get_metadata()
354-
# assert not meta.voided_by
355354
assert meta.validation.is_fully_connected()
356355
return _HeightInfo(height=bestblock.get_height(), id=bestblock.hash)
357356

@@ -840,7 +839,6 @@ def handle_get_best_block(self, payload: str) -> None:
840839
best_block = self.tx_storage.get_best_block()
841840
meta = best_block.get_metadata()
842841
assert meta.validation.is_fully_connected()
843-
# assert not meta.voided_by
844842
data = {'block': best_block.hash_hex, 'height': meta.height}
845843
self.send_message(ProtocolMessages.BEST_BLOCK, json.dumps(data))
846844

0 commit comments

Comments
 (0)