Skip to content

Commit

Permalink
fix typo and copy/paste error in documentation of withdrawfutureswap (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
solros authored May 9, 2022
1 parent fc81a25 commit a6a54eb
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit a6a54eb

Please sign in to comment.