Unverified Commit a09441a2 authored by Mariano Sorgente's avatar Mariano Sorgente Committed by GitHub
Browse files

Don't sync up with weight proof for short heights (#1322)

Showing with 1 addition and 1 deletion
+1 -1
......@@ -459,7 +459,7 @@ class WalletNode:
top = prev_head
blocks.reverse()
await self.complete_blocks(blocks, peer)
else:
elif header_block.height >= self.constants.WEIGHT_PROOF_RECENT_BLOCKS:
# Request weight proof
# Sync if PoW validates
if self.wallet_state_manager.sync_mode:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment