mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Pass datacarrier setting into IsStandard
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user