Merge #19936: Test: batch rpc with params
e1fdd2963b
Test batch rpc with params (Gregory Sanders) Pull request description: Useful as an example and test case. ACKs for top commit: laanwj: ACKe1fdd2963b
theStack: ACKe1fdd2963b
Tree-SHA512: 2d2ba8960916342b264a14624857d6dd10005be12efafb3e970b82656f721c8f3700ebc9b8809de1b2f887d482b772043504aeaeebc7f2e1c8203f076a451526
This commit is contained in:
commit
a518b1c26b
|
@ -45,7 +45,7 @@ class RPCInterfaceTest(BitcoinTestFramework):
|
|||
# work fine.
|
||||
{"method": "invalidmethod", "id": 2},
|
||||
# Another call that should succeed.
|
||||
{"method": "getbestblockhash", "id": 3},
|
||||
{"method": "getblockhash", "id": 3, "params": [0]},
|
||||
])
|
||||
|
||||
result_by_id = {}
|
||||
|
|
Loading…
Reference in a new issue