Skip to content

Commit 090ad51

Browse files
committed
rpc: Remove duplicate field in RPCHelpMan for gettransactions
The field 'comment' appears twice in TransactionDescriptionString, incorrectly - this commit removes the instance of the comment field without a description, preserving the one with a description
1 parent 65de8ee commit 090ad51

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wallet/rpc/transactions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ static const std::vector<RPCResult> TransactionDescriptionString()
416416
}},
417417
{RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "The txid if this tx was replaced."},
418418
{RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "The txid if the tx replaces one."},
419-
{RPCResult::Type::STR, "comment", /*optional=*/true, ""},
420419
{RPCResult::Type::STR, "to", /*optional=*/true, "If a comment to is associated with the transaction."},
421420
{RPCResult::Type::NUM_TIME, "time", "The transaction time expressed in " + UNIX_EPOCH_TIME + "."},
422421
{RPCResult::Type::NUM_TIME, "timereceived", "The time received expressed in " + UNIX_EPOCH_TIME + "."},

0 commit comments

Comments
 (0)