Skip to content

Conversation

@theStack
Copy link
Contributor

@theStack theStack commented Nov 9, 2023

These are filled with signature data from a PSBT input, but not used anywhere after, hence they can be removed. Note that the same code is in the SignPSBTInput function where the sigdata result is indeed used.

@DrahtBot
Copy link
Contributor

DrahtBot commented Nov 9, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK brunoerg, achow101

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #28710 (Remove the legacy wallet and BDB dependency by achow101)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

…methods

These are filled with signature data from a PSBT input, but not used anywhere
after, hence they can be removed.
@theStack theStack force-pushed the 202311-wallet-remove_unused_SignatureData_instances branch from 148d663 to e2ad343 Compare January 22, 2024 12:42
Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

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

crACK e2ad343

I checked that FillSignatureData only modifies FillSignatureData and does not affect anything from the PSBTInput itself. Since SignatureData instances are not used in spkm's FillPSBTmethods, makes sense to remove them. Also, FillSignatureData could return SignatureData instead of void.

@achow101
Copy link
Member

achow101 commented Feb 6, 2024

ACK e2ad343

@achow101 achow101 merged commit 592e013 into bitcoin:master Feb 6, 2024
@theStack theStack deleted the 202311-wallet-remove_unused_SignatureData_instances branch February 6, 2024 18:39
@bitcoin bitcoin locked and limited conversation to collaborators Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants