From 238978e25b5c17aec3e85c3e603ab18411ebf170 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 31 May 2024 11:23:17 +0300 Subject: [PATCH] fix: adjust `signrawtransactionwithkey` help text `amount` should not be required --- src/rpc/rawtransaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 08f759ca98..c648e0550b 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -1031,7 +1031,7 @@ static RPCHelpMan signrawtransactionwithkey() {"vout", RPCArg::Type::NUM, RPCArg::Optional::NO, "The output number"}, {"scriptPubKey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "script key"}, {"redeemScript", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "(required for P2SH or P2WSH) redeem script"}, - {"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "The amount spent"}, + {"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::OMITTED, "The amount spent"}, }, }, },