diff options
author | glozow <gloriajzhao@gmail.com> | 2024-08-12 09:27:40 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2024-08-12 09:29:54 +0100 |
commit | 257a4fda3cb01b3ab25b2b70363f29ce4b807dc2 (patch) | |
tree | 6c2fb8dd21ec8a261bd2853fc9c6c6e7de6ef0d4 /src/test | |
parent | c2d15d993ef06d97d4c117012bda6efa3dcbac45 (diff) | |
parent | a4f2b185732649eeea4a042cebd90d0e0e12cc92 (diff) |
Merge bitcoin/bitcoin#30616: test: remove `ExtractDestination` false assertion for `ANCHOR` script
a4f2b185732649eeea4a042cebd90d0e0e12cc92 [test]: remove `ExtractDestination` false assertion for `ANCHOR` script (ismaelsadeeq)
Pull request description:
This PR fixes #30615
`ExtractDestination` returns `true` when `TxoutType` is `ANCHOR` see https://github.com/bitcoin/bitcoin/issues/30615#issuecomment-2277538703
ACKs for top commit:
maflcko:
review ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
instagibbs:
ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
theStack:
utACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
BrandonOdiwuor:
Code Review ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
glozow:
ACK a4f2b185732649eeea4a042cebd90d0e0e12cc92
Tree-SHA512: 6120494fe888acf26b252d4aadc01dc256e294ea5e4c954fd9b4694be27dc35cf0e33e3b3bcb012fb4abe1cab0b1d0d515db226fa771e791e0fe7efbcbd8834d
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/script.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/fuzz/script.cpp b/src/test/fuzz/script.cpp index a23543d70e..07a49e039f 100644 --- a/src/test/fuzz/script.cpp +++ b/src/test/fuzz/script.cpp @@ -76,13 +76,11 @@ FUZZ_TARGET(script, .init = initialize_script) assert(which_type == TxoutType::PUBKEY || which_type == TxoutType::NONSTANDARD || which_type == TxoutType::NULL_DATA || - which_type == TxoutType::MULTISIG || - which_type == TxoutType::ANCHOR); + which_type == TxoutType::MULTISIG); } if (which_type == TxoutType::NONSTANDARD || which_type == TxoutType::NULL_DATA || - which_type == TxoutType::MULTISIG || - which_type == TxoutType::ANCHOR) { + which_type == TxoutType::MULTISIG) { assert(!extract_destination_ret); } |