aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_zmq.py
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-10-06 12:18:33 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-10-06 12:18:33 +1300
commiteb02dbba3cd9f7294cd81e268cf85a1de7a71d02 (patch)
tree89ad2b55874fb113f9fa7df6b5e44b79be58d4ae /test/functional/interface_zmq.py
parent113b863f0773999497f952daa6539a03a66a9de3 (diff)
downloadbitcoin-eb02dbba3cd9f7294cd81e268cf85a1de7a71d02.tar.xz
Use self.generate not node.generate throughout tests
Diffstat (limited to 'test/functional/interface_zmq.py')
-rwxr-xr-xtest/functional/interface_zmq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_zmq.py b/test/functional/interface_zmq.py
index 4313b05f88..5a11a62ec4 100755
--- a/test/functional/interface_zmq.py
+++ b/test/functional/interface_zmq.py
@@ -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())