mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 23ba39470c into merged_master (Bitcoin PR bitcoin/bitcoin#29753)
This commit is contained in:
commit
cd72d5377f
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
|
|||
|
||||
# Wait until the full_node is headers-wise sync
|
||||
best_block_hash = pruned_node.getbestblockhash()
|
||||
self.wait_until(lambda: next(filter(lambda x: x['hash'] == best_block_hash, full_node.getchaintips()))['status'] == "headers-only")
|
||||
default_value = {'status': ''} # No status
|
||||
self.wait_until(lambda: next(filter(lambda x: x['hash'] == best_block_hash, full_node.getchaintips()), default_value)['status'] == "headers-only")
|
||||
|
||||
# Now, since the node aims to download a window of 1024 blocks,
|
||||
# ensure it requests the blocks below the threshold only (with a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue