mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-25 19:31:48 +02:00
test: Add missing sync_blocks
This commit is contained in:
parent
23b2a68df5
commit
fa195d4eba
@ -93,6 +93,7 @@ class NotificationsTest(BitcoinTestFramework):
|
|||||||
self.nodes[0].sethdseed(seed=self.nodes[1].dumpprivkey(keyhash_to_p2pkh(hex_str_to_bytes(self.nodes[1].getwalletinfo()['hdseedid'])[::-1])))
|
self.nodes[0].sethdseed(seed=self.nodes[1].dumpprivkey(keyhash_to_p2pkh(hex_str_to_bytes(self.nodes[1].getwalletinfo()['hdseedid'])[::-1])))
|
||||||
self.nodes[0].rescanblockchain()
|
self.nodes[0].rescanblockchain()
|
||||||
self.nodes[0].generatetoaddress(100, ADDRESS_BCRT1_UNSPENDABLE)
|
self.nodes[0].generatetoaddress(100, ADDRESS_BCRT1_UNSPENDABLE)
|
||||||
|
self.sync_blocks()
|
||||||
|
|
||||||
# Generate transaction on node 0, sync mempools, and check for
|
# Generate transaction on node 0, sync mempools, and check for
|
||||||
# notification on node 1.
|
# notification on node 1.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user