Skip to content

Commit 71fd628

Browse files
authored
Add example 2nd arg to signrawtransactionwithkey
The RPC examples for signrawtransactionwithkey are missing the 2nd parameter.
1 parent 431d81b commit 71fd628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,8 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
742742
"}\n"
743743
},
744744
RPCExamples{
745-
HelpExampleCli("signrawtransactionwithkey", "\"myhex\"")
746-
+ HelpExampleRpc("signrawtransactionwithkey", "\"myhex\"")
745+
HelpExampleCli("signrawtransactionwithkey", "\"myhex\" \"[\\\"key1\\\",\\\"key2\\\"]\"")
746+
+ HelpExampleRpc("signrawtransactionwithkey", "\"myhex\", \"[\\\"key1\\\",\\\"key2\\\"]\"")
747747
},
748748
}.ToString());
749749

0 commit comments

Comments
 (0)