Skip to content

Commit 238978e

Browse files
committed
fix: adjust signrawtransactionwithkey help text
`amount` should not be required
1 parent 7596a73 commit 238978e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ static RPCHelpMan signrawtransactionwithkey()
10311031
{"vout", RPCArg::Type::NUM, RPCArg::Optional::NO, "The output number"},
10321032
{"scriptPubKey", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "script key"},
10331033
{"redeemScript", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "(required for P2SH or P2WSH) redeem script"},
1034-
{"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "The amount spent"},
1034+
{"amount", RPCArg::Type::AMOUNT, RPCArg::Optional::OMITTED, "The amount spent"},
10351035
},
10361036
},
10371037
},

0 commit comments

Comments
 (0)