mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Pass datacarrier setting into IsStandard
This commit is contained in:
parent
fa2a6b8516
commit
fad0b4fab8
5 changed files with 22 additions and 14 deletions
|
|
@ -55,7 +55,7 @@ FUZZ_TARGET_INIT(script, initialize_script)
|
|||
}
|
||||
|
||||
TxoutType which_type;
|
||||
bool is_standard_ret = IsStandard(script, which_type);
|
||||
bool is_standard_ret = IsStandard(script, std::nullopt, which_type);
|
||||
if (!is_standard_ret) {
|
||||
assert(which_type == TxoutType::NONSTANDARD ||
|
||||
which_type == TxoutType::NULL_DATA ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue