mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge bitcoin/bitcoin#30616: test: remove ExtractDestination false assertion for ANCHOR script
a4f2b18573[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 ACKa4f2b18573instagibbs: ACKa4f2b18573theStack: utACKa4f2b18573BrandonOdiwuor: Code Review ACKa4f2b18573glozow: ACKa4f2b18573Tree-SHA512: 6120494fe888acf26b252d4aadc01dc256e294ea5e4c954fd9b4694be27dc35cf0e33e3b3bcb012fb4abe1cab0b1d0d515db226fa771e791e0fe7efbcbd8834d
This commit is contained in:
commit
257a4fda3c
1 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue