Use self.generate not node.generate throughout tests

This commit is contained in:
Samuel Dobson committed 2021-10-06 12:18:33 +13:00
1 parent 113b863f07
commit eb02dbba3c
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -583,7 +583,7 @@ class ZMQTest (BitcoinTestFramework):
], ipv6=True)
# Generate 1 block in nodes[0]
self.nodes[0].generatetoaddress(1, ADDRESS_BCRT1_UNSPENDABLE)
self.generatetoaddress(self.nodes[0], 1, ADDRESS_BCRT1_UNSPENDABLE)
# Should receive the same block hash
assert_equal(self.nodes[0].getbestblockhash(), subscribers[0].receive().hex())