Skip to content

Commit

Permalink
Merge bitcoin#11496: [Trivial] Add missing comma from rescanblockchai…
Browse files Browse the repository at this point in the history
…n example

43f76f6 Add missing comma from rescanblockchain (MeshCollider)

Pull request description:

  bitcoin#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
  • Loading branch information
jonasschnelli authored and PastaPastaPasta committed Jan 2, 2020
1 parent eaf2060 commit db2ad50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3171,7 +3171,7 @@ UniValue rescanblockchain(const JSONRPCRequest& request)
"}\n"
"\nExamples:\n"
+ HelpExampleCli("rescanblockchain", "100000 120000")
+ HelpExampleRpc("rescanblockchain", "100000 120000")
+ HelpExampleRpc("rescanblockchain", "100000, 120000")
);
}

Expand Down

0 comments on commit db2ad50

Please sign in to comment.