mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
fuzz: remove non-existent witness sigversion
This commit is contained in:
parent
f1a64744cd
commit
ea565a92b8
@ -30,7 +30,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
const CScript script(script_bytes.begin(), script_bytes.end());
|
const CScript script(script_bytes.begin(), script_bytes.end());
|
||||||
for (const auto sig_version : {SigVersion::BASE, SigVersion::WITNESS_V0}) {
|
for (const auto sig_version : {SigVersion::BASE}) {
|
||||||
std::vector<std::vector<unsigned char>> stack;
|
std::vector<std::vector<unsigned char>> stack;
|
||||||
(void)EvalScript(stack, script, flags, BaseSignatureChecker(), sig_version, nullptr);
|
(void)EvalScript(stack, script, flags, BaseSignatureChecker(), sig_version, nullptr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user