rpc: Rename first arg of generateblock RPC to "output"

This commit is contained in:
MarcoFalke
2020-04-12 17:02:22 -04:00
parent ed3b8eada8
commit fa86a4bbfc
2 changed files with 5 additions and 5 deletions

View File

@@ -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)