Pass datacarrier setting into IsStandard

This commit is contained in:
MacroFake
2022-07-21 18:36:20 +02:00
parent fa2a6b8516
commit fad0b4fab8
5 changed files with 22 additions and 14 deletions

View File

@@ -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 ||