mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Test batch rpc with params
This commit is contained in:
@@ -45,7 +45,7 @@ class RPCInterfaceTest(BitcoinTestFramework):
|
|||||||
# work fine.
|
# work fine.
|
||||||
{"method": "invalidmethod", "id": 2},
|
{"method": "invalidmethod", "id": 2},
|
||||||
# Another call that should succeed.
|
# Another call that should succeed.
|
||||||
{"method": "getbestblockhash", "id": 3},
|
{"method": "getblockhash", "id": 3, "params": [0]},
|
||||||
])
|
])
|
||||||
|
|
||||||
result_by_id = {}
|
result_by_id = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user