Skip to content

Commit

Permalink
Add example 2nd arg to signrawtransactionwithkey
Browse files Browse the repository at this point in the history
The RPC examples for signrawtransactionwithkey are missing the 2nd parameter.
  • Loading branch information
dooglus committed Jun 14, 2019
1 parent 431d81b commit 71fd628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,8 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
"}\n"
},
RPCExamples{
HelpExampleCli("signrawtransactionwithkey", "\"myhex\"")
+ HelpExampleRpc("signrawtransactionwithkey", "\"myhex\"")
HelpExampleCli("signrawtransactionwithkey", "\"myhex\" \"[\\\"key1\\\",\\\"key2\\\"]\"")
+ HelpExampleRpc("signrawtransactionwithkey", "\"myhex\", \"[\\\"key1\\\",\\\"key2\\\"]\"")
},
}.ToString());

Expand Down

0 comments on commit 71fd628

Please sign in to comment.