diff options
| author | Chris Moore <[email protected]> | 2019-06-13 19:33:28 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-13 19:33:28 -0700 |
| commit | 71fd628adafdeb2a4b343e0d51d7168cdb186312 (patch) | |
| tree | d8d3b44cdaf61e21ba725e93afdc452595d7739e /src/rpc/rawtransaction.cpp | |
| parent | Merge #15991: Bugfix: fix pruneblockchain returned prune height (diff) | |
| download | discoin-71fd628adafdeb2a4b343e0d51d7168cdb186312.tar.xz discoin-71fd628adafdeb2a4b343e0d51d7168cdb186312.zip | |
Add example 2nd arg to signrawtransactionwithkey
The RPC examples for signrawtransactionwithkey are missing the 2nd parameter.
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
| -rw-r--r-- | src/rpc/rawtransaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 0b760439c..d7a720743 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -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()); |