diff options
author | marco <marleo23@proton.me> | 2024-01-23 17:34:16 -0700 |
---|---|---|
committer | marco <marleo23@proton.me> | 2024-01-23 17:34:16 -0700 |
commit | ff54314d4abed3bf9a78daf785a01c63af15c69d (patch) | |
tree | e9742646162148b9e825e5994cc883e0f2ff1371 /src/wallet/rpc | |
parent | e69796c79c0aa202087a13ba62d9fbcc1c8754d4 (diff) | |
download | bitcoin-ff54314d4abed3bf9a78daf785a01c63af15c69d.tar.xz |
wallet: clarify replaced_by_txid and replaces_txid in help output
Diffstat (limited to 'src/wallet/rpc')
-rw-r--r-- | src/wallet/rpc/transactions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp index 0e30d3e0fe..e6c021d426 100644 --- a/src/wallet/rpc/transactions.cpp +++ b/src/wallet/rpc/transactions.cpp @@ -415,8 +415,8 @@ static std::vector<RPCResult> TransactionDescriptionString() { {RPCResult::Type::STR_HEX, "txid", "The transaction id."}, }}, - {RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "The txid if this tx was replaced."}, - {RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "The txid if the tx replaces one."}, + {RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx was replaced."}, + {RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx replaces another."}, {RPCResult::Type::STR, "to", /*optional=*/true, "If a comment to is associated with the transaction."}, {RPCResult::Type::NUM_TIME, "time", "The transaction time expressed in " + UNIX_EPOCH_TIME + "."}, {RPCResult::Type::NUM_TIME, "timereceived", "The time received expressed in " + UNIX_EPOCH_TIME + "."}, |