Update RPC argument names

This commit is contained in:
John Newbery
2016-12-09 17:06:42 +00:00
committed by Wladimir J. van der Laan
parent 481f289765
commit 4e7e2e16e4
8 changed files with 90 additions and 90 deletions

View File

@@ -39,8 +39,8 @@ class NamedArgumentTest(BitcoinTestFramework):
assert_raises_jsonrpc(-8, node.help, random='getinfo')
h = node.getblockhash(index=0)
node.getblock(hash=h)
h = node.getblockhash(height=0)
node.getblock(blockhash=h)
assert_equal(node.echo(), [])
assert_equal(node.echo(arg0=0,arg9=9), [0] + [None]*8 + [9])