Skip to content

Commit a518b1c

Browse files
committed
Merge #19936: Test: batch rpc with params
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
2 parents 1c4f597 + e1fdd29 commit a518b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/interface_rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_batch_request(self):
4545
# work fine.
4646
{"method": "invalidmethod", "id": 2},
4747
# Another call that should succeed.
48-
{"method": "getbestblockhash", "id": 3},
48+
{"method": "getblockhash", "id": 3, "params": [0]},
4949
])
5050

5151
result_by_id = {}

0 commit comments

Comments
 (0)