aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2016-12-09 17:06:42 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-10 12:04:54 +0100
commit4e7e2e16e4530be31bfc696a08bd3d1265e6f235 (patch)
tree8b0581fd980a79ab4c3351c263f3b19a51b09db8 /qa
parent481f289765fab47ff2e0bd7dfb968f2bd92fd608 (diff)
downloadbitcoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.tar.xz
Update RPC argument names
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/rpcnamedargs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/rpcnamedargs.py b/qa/rpc-tests/rpcnamedargs.py
index b526b1f51a..0484204668 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])