Skip to content

Commit

Permalink
Merge #19936: Test: batch rpc with params
Browse files Browse the repository at this point in the history
e1fdd29 Test batch rpc with params (Gregory Sanders)

Pull request description:

  Useful as an example and test case.

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

Tree-SHA512: 2d2ba8960916342b264a14624857d6dd10005be12efafb3e970b82656f721c8f3700ebc9b8809de1b2f887d482b772043504aeaeebc7f2e1c8203f076a451526
  • Loading branch information
laanwj committed Sep 16, 2020
2 parents 1c4f597 + e1fdd29 commit a518b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/interface_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_batch_request(self):
# work fine.
{"method": "invalidmethod", "id": 2},
# Another call that should succeed.
{"method": "getbestblockhash", "id": 3},
{"method": "getblockhash", "id": 3, "params": [0]},
])

result_by_id = {}
Expand Down

0 comments on commit a518b1c

Please sign in to comment.