aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/listtransactions.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/listtransactions.py')
-rwxr-xr-xqa/rpc-tests/listtransactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/listtransactions.py b/qa/rpc-tests/listtransactions.py
index 8ee9d66a29..11e3635c04 100755
--- a/qa/rpc-tests/listtransactions.py
+++ b/qa/rpc-tests/listtransactions.py
@@ -44,7 +44,7 @@ class ListTransactionsTest(BitcoinTestFramework):
{"txid":txid},
{"category":"receive","account":"","amount":Decimal("0.1"),"confirmations":0})
# mine a block, confirmations should change:
- self.nodes[0].setgenerate(True, 1)
+ self.nodes[0].generate(1)
self.sync_all()
check_array_result(self.nodes[0].listtransactions(),
{"txid":txid},