Skip to content

Commit 879acc6

Browse files
author
MarcoFalke
committed
Merge #19018: docs: fixing description of the field sequence in walletcreatefundedpsbt RPC method
d0a3fee Change docs for walletcreatefundedpsbt RPC method (Ivan Vershigora) Pull request description: `sequence` field in the list of inputs currently marked as "required". Actually it can be omitted and it's value depends on `locktime` and `options.replaceable` fields. Just the same as in `createpsbt` call. ACKs for top commit: achow101: ACK d0a3fee Tree-SHA512: 3f429a2c2eea283a47fb5002a99f7e2a5ed6f67df9fd895c1ab938256c48a6497ed6ac2673d8fe8968dfb67b939f4a84570899d9faf52f3abd6ec90c0703d1bd
2 parents d4f9ae0 + d0a3fee commit 879acc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3985,7 +3985,7 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
39853985
{
39863986
{"txid", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The transaction id"},
39873987
{"vout", RPCArg::Type::NUM, RPCArg::Optional::NO, "The output number"},
3988-
{"sequence", RPCArg::Type::NUM, RPCArg::Optional::NO, "The sequence number"},
3988+
{"sequence", RPCArg::Type::NUM, /* default */ "depends on the value of the 'locktime' and 'options.replaceable' arguments", "The sequence number"},
39893989
},
39903990
},
39913991
},

0 commit comments

Comments
 (0)