Use self.generate not node.generate throughout tests
This commit is contained in:
1 parent
113b863f07
commit
eb02dbba3c
5 files changed
+5
-5
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user