aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
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])