aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/getchaintips.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/getchaintips.py')
-rwxr-xr-xqa/rpc-tests/getchaintips.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/getchaintips.py b/qa/rpc-tests/getchaintips.py
index 84fe102d81..83a9537285 100755
--- a/qa/rpc-tests/getchaintips.py
+++ b/qa/rpc-tests/getchaintips.py
@@ -23,8 +23,8 @@ class GetChainTipsTest (BitcoinTestFramework):
# Split the network and build two chains of different lengths.
self.split_network ()
- self.nodes[0].setgenerate (True, 10);
- self.nodes[2].setgenerate (True, 20);
+ self.nodes[0].generate(10);
+ self.nodes[2].generate(20);
self.sync_all ()
tips = self.nodes[1].getchaintips ()