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.

Github-Pull: bitcoin#16210
Rebased-From: 71fd628
  • Loading branch information
dooglus authored and Michael Polzer committed Aug 23, 2019
1 parent 094a467 commit 782129c
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 @@ -997,8 +997,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 782129c

Please sign in to comment.