fuzz: remove non-existent witness sigversion

This commit is contained in:
Kittywhiskers Van Gogh 2022-02-27 23:40:27 +05:30
parent f1a64744cd
commit ea565a92b8

View File

@ -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);
} }