Skip to content

Cherry-pick bitcoin/bitcoin#26777#1550

Merged
delta1 merged 1 commit into
ElementsProject:elements-23.xfrom
tomt1664:remove_duplicate_rpc_man
May 21, 2026
Merged

Cherry-pick bitcoin/bitcoin#26777#1550
delta1 merged 1 commit into
ElementsProject:elements-23.xfrom
tomt1664:remove_duplicate_rpc_man

Conversation

@tomt1664
Copy link
Copy Markdown
Member

Merge bitcoin/bitcoin#26777: rpc: Remove duplicate field in RPCHelpMan for gettransactions

090ad51 rpc: Remove duplicate field in RPCHelpMan for gettransactions (Joshua Kelly)

Pull request description:

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.

On master, the duplicate fields can be be viewed here: https://github.com/bitcoin/bitcoin/blob/master/src/wallet/rpc/transactions.cpp#L419-L423

TransactionDescriptionString is included in RPC calls such as listtransactions which have functional tests.

…n for gettransactions

090ad51 rpc: Remove duplicate field in RPCHelpMan for gettransactions (Joshua Kelly)

Pull request description:

  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.

  On master, the duplicate fields can be be viewed here: https://github.com/bitcoin/bitcoin/blob/master/src/wallet/rpc/transactions.cpp#L419-L423

  `TransactionDescriptionString` is included in RPC calls such as `listtransactions` which have functional tests.

ACKs for top commit:
  w0xlt:
    ACK bitcoin/bitcoin@090ad51

Tree-SHA512: 4bacdafdb517dda2af6d1c193f331b634ae74bd62ac6289c0c288957f39f98a73d07aeab72fbe5bf1ece5532406d4a40a5b8a2277be50115f76c92bb938e21fa
Copy link
Copy Markdown
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8a0afee; tested locally

@delta1 delta1 merged commit 6a0108a into ElementsProject:elements-23.x May 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants