test: Add missing sync_blocks

This commit is contained in:
MarcoFalke 2020-06-16 15:07:37 -04:00
parent 23b2a68df5
commit fa195d4eba
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

View File

@ -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].rescanblockchain()
self.nodes[0].generatetoaddress(100, ADDRESS_BCRT1_UNSPENDABLE)
self.sync_blocks()
# Generate transaction on node 0, sync mempools, and check for
# notification on node 1.