diff options
| author | John Newbery <[email protected]> | 2016-12-09 17:06:42 +0000 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-01-10 12:04:54 +0100 |
| commit | 4e7e2e16e4530be31bfc696a08bd3d1265e6f235 (patch) | |
| tree | 8b0581fd980a79ab4c3351c263f3b19a51b09db8 /qa | |
| parent | rpc: Named argument support for bitcoin-cli (diff) | |
| download | discoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.tar.xz discoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.zip | |
Update RPC argument names
Diffstat (limited to 'qa')
| -rwxr-xr-x | qa/rpc-tests/rpcnamedargs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/rpcnamedargs.py b/qa/rpc-tests/rpcnamedargs.py index b526b1f51..048420466 100755 --- a/qa/rpc-tests/rpcnamedargs.py +++ b/qa/rpc-tests/rpcnamedargs.py @@ -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]) |