aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_generateblock.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-12 17:02:22 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-12 17:04:03 -0400
commitfa86a4bbfc000593ae4ad9dcdaec3fd0c0406086 (patch)
treef84cb37f299b3413b5e5f1c03b0aeccbe11a2789 /test/functional/rpc_generateblock.py
parented3b8eada8038fdfd661e8bde934a5e355ddcd9b (diff)
rpc: Rename first arg of generateblock RPC to "output"
Diffstat (limited to 'test/functional/rpc_generateblock.py')
-rwxr-xr-xtest/functional/rpc_generateblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_generateblock.py b/test/functional/rpc_generateblock.py
index f23d9ec556..5298f385ba 100755
--- a/test/functional/rpc_generateblock.py
+++ b/test/functional/rpc_generateblock.py
@@ -23,7 +23,7 @@ class GenerateBlockTest(BitcoinTestFramework):
self.log.info('Generate an empty block to address')
address = node.getnewaddress()
- hash = node.generateblock(address, [])['hash']
+ hash = node.generateblock(output=address, transactions=[])['hash']
block = node.getblock(hash, 2)
assert_equal(len(block['tx']), 1)
assert_equal(block['tx'][0]['vout'][0]['scriptPubKey']['addresses'][0], address)