Merge #19936: Test: batch rpc with params

e1fdd2963baab68bb6a77af2ad7a07fcacd4e73e Test batch rpc with params (Gregory Sanders)

Pull request description:

  Useful as an example and test case.

ACKs for top commit:
  laanwj:
    ACK e1fdd2963baab68bb6a77af2ad7a07fcacd4e73e
  theStack:
    ACK e1fdd2963baab68bb6a77af2ad7a07fcacd4e73e

Tree-SHA512: 2d2ba8960916342b264a14624857d6dd10005be12efafb3e970b82656f721c8f3700ebc9b8809de1b2f887d482b772043504aeaeebc7f2e1c8203f076a451526
This commit is contained in:
Wladimir J. van der Laan 2020-09-16 16:24:21 +02:00 committed by Pasta
parent 25f21c103f
commit 016e8c0bab
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

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