fix: adjust signrawtransactionwithkey help text

`amount` should not be required
This commit is contained in:
UdjinM6 2024-05-31 11:23:17 +03:00
parent 7596a7320a
commit 238978e25b
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -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"},
},
},
},