diff options
| author | Torkel Rogstad <[email protected]> | 2019-03-26 17:39:39 +0100 |
|---|---|---|
| committer | Torkel Rogstad <[email protected]> | 2019-03-28 08:54:37 +0100 |
| commit | afc06fc8687e394e93d568e59808bb2660a75e06 (patch) | |
| tree | 2d6368209545fc5b5947fe17f54c457b0feea7a0 /src/rpc/rawtransaction.cpp | |
| parent | Merge #15603: docs: Add more tips to productivity.md (diff) | |
| download | discoin-afc06fc8687e394e93d568e59808bb2660a75e06.tar.xz discoin-afc06fc8687e394e93d568e59808bb2660a75e06.zip | |
rpc: Fix help text for signtransactionwithXXX
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
| -rw-r--r-- | src/rpc/rawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index e3d8fb4e8..864a6702f 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -964,7 +964,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request) {"scriptPubKey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "script key"}, {"redeemScript", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "(required for P2SH) redeem script"}, {"witnessScript", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "(required for P2WSH or P2SH-P2WSH) witness script"}, - {"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "The amount spent"}, + {"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::OMITTED, "(required for Segwit inputs) the amount spent"}, }, }, }, |