Skip to content

Commit 927a9b0

Browse files
committed
Merge bitcoin/bitcoin#23659: test: fix: remove outdated TestNode.generate calls
4e1cb90 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 4e1cb90 theStack: Tested ACK 4e1cb90 Tree-SHA512: 5e7059d334d571ca92f250d298292ce1653da8257cbfb218d28cc9c5816c21c718c36482da31fcaf78e0714cc9b67ff04b91405e820accaf4d8321a354af9441
2 parents ffe414b + 4e1cb90 commit 927a9b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/wallet_listtransactions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,17 @@ def run_externally_generated_address_test(self):
244244
self.log.info("Send to externally generated addresses")
245245
# send to an address beyond the next to be generated to test the keypool gap
246246
self.nodes[1].sendtoaddress(addr3, "0.001")
247-
self.nodes[1].generate(1)
247+
self.generate(self.nodes[1], 1)
248248
self.sync_all()
249249

250250
# send to an address that is already marked as used due to the keypool gap mechanics
251251
self.nodes[1].sendtoaddress(addr2, "0.001")
252-
self.nodes[1].generate(1)
252+
self.generate(self.nodes[1], 1)
253253
self.sync_all()
254254

255255
# send to self transaction
256256
self.nodes[0].sendtoaddress(addr1, "0.001")
257-
self.nodes[0].generate(1)
257+
self.generate(self.nodes[0], 1)
258258
self.sync_all()
259259

260260
self.log.info("Verify listtransactions is the same regardless of where the address was generated")

0 commit comments

Comments
 (0)