diff options
author | fanquake <fanquake@gmail.com> | 2021-12-03 12:37:44 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-12-03 12:37:58 +0800 |
commit | 927a9b07776881d99340259f214c577537dbc77f (patch) | |
tree | c3b549bbf82a3eb5139a8a02c2ea6495a3eb1f66 | |
parent | ffe414bd9a9c510907da759a170a291915f138f2 (diff) | |
parent | 4e1cb904ba6777ea70edbbba42ebc803c9d1fbc9 (diff) | |
download | bitcoin-927a9b07776881d99340259f214c577537dbc77f.tar.xz |
Merge bitcoin/bitcoin#23659: test: fix: remove outdated TestNode.generate calls
4e1cb904ba6777ea70edbbba42ebc803c9d1fbc9 test: fix: remove outdated TestNode.generate calls (James O'Beirne)
Pull request description:
Currently failing on CI. After this change the test itself still fails,
but at least it's apparently for a non-incidental reason.
ACKs for top commit:
meshcollider:
ACK 4e1cb904ba6777ea70edbbba42ebc803c9d1fbc9
theStack:
Tested ACK 4e1cb904ba6777ea70edbbba42ebc803c9d1fbc9
Tree-SHA512: 5e7059d334d571ca92f250d298292ce1653da8257cbfb218d28cc9c5816c21c718c36482da31fcaf78e0714cc9b67ff04b91405e820accaf4d8321a354af9441
-rwxr-xr-x | test/functional/wallet_listtransactions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/wallet_listtransactions.py b/test/functional/wallet_listtransactions.py index 0de15a17a4..fc263f17ce 100755 --- a/test/functional/wallet_listtransactions.py +++ b/test/functional/wallet_listtransactions.py @@ -244,17 +244,17 @@ class ListTransactionsTest(BitcoinTestFramework): self.log.info("Send to externally generated addresses") # send to an address beyond the next to be generated to test the keypool gap self.nodes[1].sendtoaddress(addr3, "0.001") - self.nodes[1].generate(1) + self.generate(self.nodes[1], 1) self.sync_all() # send to an address that is already marked as used due to the keypool gap mechanics self.nodes[1].sendtoaddress(addr2, "0.001") - self.nodes[1].generate(1) + self.generate(self.nodes[1], 1) self.sync_all() # send to self transaction self.nodes[0].sendtoaddress(addr1, "0.001") - self.nodes[0].generate(1) + self.generate(self.nodes[0], 1) self.sync_all() self.log.info("Verify listtransactions is the same regardless of where the address was generated") |