This PR fixes #30615
ExtractDestination returns true when TxoutType is ANCHOR see #30615 (comment)
This PR fixes #30615
ExtractDestination returns true when TxoutType is ANCHOR see #30615 (comment)
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For detailed information about the code coverage, see the test coverage report.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | maflcko, theStack, instagibbs, BrandonOdiwuor, glozow |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
review ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
ANCHOR has a destination (it is basically a witness program version + witness program data), so the change looks correct.
(Nit: You can replace [test] with test: in the GitHub pull title to have DrahtBot assign the pull request label for you.)
utACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
(Could wait a day before merging this, to check if OSS-Fuzz also found it, because it should and so far has not)
ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
this was leftover from when anchor outputs were bare OP_TRUE, which don't have an address
Code Review ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
Reproduced crash and fix, looks correct. Will plan to merge later.
(Could wait a day before merging this, to check if OSS-Fuzz also found it, because it should and so far has not)
I guess it may just be non-trivial to find. Let's merge this here, and continue discussion in https://github.com/bitcoin/bitcoin/issues/30615
Milestone
28.0