Skip to content

Commit

Permalink
fix: adjust signrawtransactionwithkey help text
Browse files Browse the repository at this point in the history
`amount` should not be required
  • Loading branch information
UdjinM6 committed May 31, 2024
1 parent 7596a73 commit 238978e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
},
},
Expand Down

0 comments on commit 238978e

Please sign in to comment.