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:
    ACK e1fdd2963b
  theStack:
    ACK e1fdd2963b

Tree-SHA512: 2d2ba8960916342b264a14624857d6dd10005be12efafb3e970b82656f721c8f3700ebc9b8809de1b2f887d482b772043504aeaeebc7f2e1c8203f076a451526
This commit is contained in:
Wladimir J. van der Laan 2020-09-16 16:24:21 +02:00
commit a518b1c26b
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -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 = {}