mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Update RPC argument names
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
481f289765
commit
4e7e2e16e4
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user