Skip to content

Commit 2c66cea

Browse files
committed
Merge #11496: [Trivial] Add missing comma from rescanblockchain example
43f76f6 Add missing comma from rescanblockchain (MeshCollider) Pull request description: #7061 forgot a comma in the HelpExampleRpc() for the rescanblockchain RPC, giving an incorrect example command output: > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/ Was just missed during nit-fixing. This is a trivial fix to add that comma in. Tree-SHA512: b808f32674af585a1ddb78b25621dff0387dbad79c97d65ff61d8a9a12a94e4b8ecf03eda3f281fe439bddb6c0703c39104dbb279f1718949abd930faaa9042f
2 parents 6ab0e4c + 43f76f6 commit 2c66cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3233,7 +3233,7 @@ UniValue rescanblockchain(const JSONRPCRequest& request)
32333233
"}\n"
32343234
"\nExamples:\n"
32353235
+ HelpExampleCli("rescanblockchain", "100000 120000")
3236-
+ HelpExampleRpc("rescanblockchain", "100000 120000")
3236+
+ HelpExampleRpc("rescanblockchain", "100000, 120000")
32373237
);
32383238
}
32393239

0 commit comments

Comments
 (0)