Use self.generate not node.generate throughout tests

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

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())