Skip to content

Commit 35ed88f

Browse files
author
MarcoFalke
committed
Merge #19298: test: Add missing sync_blocks
fa195d4 test: Add missing sync_blocks (MarcoFalke) Pull request description: Bitcoin Core does not sort block and tx announcements for other peers, so generating 100 blocks and then sending out a transaction might reject it if it arrives too early. (non-final) Fix that by syncing the blocks first. Fix #19265 Fix #19311 ACKs for top commit: Sjors: utACK fa195d4: sounds plausible Tree-SHA512: fdc46aed59595e4189509e71bd4a3607a93893933cc01d806cec2ee7701d54d7422c5f22dd83b81ddb021f9113b3119a688fdd8cf8a6474fc12fea422aedd064
2 parents 39bd9dd + fa195d4 commit 35ed88f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/feature_notifications.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def run_test(self):
9393
self.nodes[0].sethdseed(seed=self.nodes[1].dumpprivkey(keyhash_to_p2pkh(hex_str_to_bytes(self.nodes[1].getwalletinfo()['hdseedid'])[::-1])))
9494
self.nodes[0].rescanblockchain()
9595
self.nodes[0].generatetoaddress(100, ADDRESS_BCRT1_UNSPENDABLE)
96+
self.sync_blocks()
9697

9798
# Generate transaction on node 0, sync mempools, and check for
9899
# notification on node 1.

0 commit comments

Comments
 (0)