Skip to content

Commit 207220c

Browse files
committed
Merge bitcoin/bitcoin#29302: wallet: clarify replaced_by_txid and replaces_txid in help output
ff54314 wallet: clarify replaced_by_txid and replaces_txid in help output (marco) Pull request description: Resolves issue #27781 ACKs for top commit: achow101: ACK ff54314 ryanofsky: Code review ACK ff54314. Seems like a helpful clarification Tree-SHA512: b13a0e24505dfaee083467ac6f357b96460b5d1841dc29c4df4a503c290d379cef3d50fcc76f33bbc95741f484dd9d2461b0c2e8bdebf57a8a72edfbeece2a79
2 parents ea4ddd8 + ff54314 commit 207220c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpc/transactions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ static std::vector<RPCResult> TransactionDescriptionString()
415415
{
416416
{RPCResult::Type::STR_HEX, "txid", "The transaction id."},
417417
}},
418-
{RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "The txid if this tx was replaced."},
419-
{RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "The txid if the tx replaces one."},
418+
{RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx was replaced."},
419+
{RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx replaces another."},
420420
{RPCResult::Type::STR, "to", /*optional=*/true, "If a comment to is associated with the transaction."},
421421
{RPCResult::Type::NUM_TIME, "time", "The transaction time expressed in " + UNIX_EPOCH_TIME + "."},
422422
{RPCResult::Type::NUM_TIME, "timereceived", "The time received expressed in " + UNIX_EPOCH_TIME + "."},

0 commit comments

Comments
 (0)