mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
Merge #19936: Test: batch rpc with params
e1fdd2963bTest batch rpc with params (Gregory Sanders) Pull request description: Useful as an example and test case. ACKs for top commit: laanwj: ACKe1fdd2963btheStack: ACKe1fdd2963bTree-SHA512: 2d2ba8960916342b264a14624857d6dd10005be12efafb3e970b82656f721c8f3700ebc9b8809de1b2f887d482b772043504aeaeebc7f2e1c8203f076a451526
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