Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo and copy/paste error in documentation of withdrawfutureswap #1221

Merged
merged 1 commit into from
May 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/masternodes/rpc_accounts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ UniValue withdrawfutureswap(const JSONRPCRequest& request) {
auto pwallet = GetWallet(request);

RPCHelpMan{"withdrawfutureswap",
"\nCreates and submits to the network a withdrawl from futures contract transaction.\n"
"\nCreates and submits to the network a withdrawal from futures contract transaction.\n"
" Withdrawal will be back to the address specified in the futures contract." +
HelpRequiringPassphrase(pwallet) + "\n",
{
Expand All @@ -2148,8 +2148,8 @@ UniValue withdrawfutureswap(const JSONRPCRequest& request) {
"\"hash\" (string) The hex-encoded hash of broadcasted transaction\n"
},
RPCExamples{
HelpExampleCli("futureswap", "dLb2jq51qkaUbVkLyCiVQCoEHzRSzRPEsJ 1000@TSLA")
+ HelpExampleRpc("futureswap", "dLb2jq51qkaUbVkLyCiVQCoEHzRSzRPEsJ, 1000@TSLA")
HelpExampleCli("withdrawfutureswap", "dLb2jq51qkaUbVkLyCiVQCoEHzRSzRPEsJ 1000@TSLA")
+ HelpExampleRpc("withdrawfutureswap", "dLb2jq51qkaUbVkLyCiVQCoEHzRSzRPEsJ, 1000@TSLA")
},
}.Check(request);

Expand Down