aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-09-16 16:24:21 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-09-16 16:25:00 +0200
commita518b1c26b71dc5040e620f86973cc812024e9c7 (patch)
tree2eed29f058d62218ffac4a1bc61884c25abc112a /test
parent1c4f59728c35dc61c213932ffa593826db10095a (diff)
parente1fdd2963baab68bb6a77af2ad7a07fcacd4e73e (diff)
downloadbitcoin-a518b1c26b71dc5040e620f86973cc812024e9c7.tar.xz
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
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/interface_rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_rpc.py b/test/functional/interface_rpc.py
index ac2e73fc5c..9c877aaeae 100755
--- a/test/functional/interface_rpc.py
+++ b/test/functional/interface_rpc.py
@@ -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 = {}