Add example 2nd arg to signrawtransactionwithkey

The RPC examples for signrawtransactionwithkey are missing the 2nd parameter.
This commit is contained in:
Chris Moore 2019-06-13 19:33:28 -07:00 committed by GitHub
parent 431d81b61c
commit 71fd628ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());