aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_loadblock.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/feature_loadblock.py')
-rwxr-xr-xtest/functional/feature_loadblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_loadblock.py b/test/functional/feature_loadblock.py
index e5db6de085..13e6a8d6d7 100755
--- a/test/functional/feature_loadblock.py
+++ b/test/functional/feature_loadblock.py
@@ -29,7 +29,7 @@ class LoadblockTest(BitcoinTestFramework):
def run_test(self):
self.nodes[1].setnetworkactive(state=False)
- self.nodes[0].generate(COINBASE_MATURITY)
+ self.generate(self.nodes[0], COINBASE_MATURITY)
# Parsing the url of our node to get settings for config file
data_dir = self.nodes[0].datadir