fuzz: [refactor] Use IsValidFlagCombination in signature_checker fuzz target

Can be reviewed with --color-moved=dimmed-zebra
This commit is contained in:
MarcoFalke
2021-03-30 09:32:35 +02:00
parent eeee8f5be1
commit fa4926cca6
5 changed files with 20 additions and 14 deletions

View File

@@ -18,4 +18,7 @@ static const CScript P2WSH_OP_TRUE{
return hash;
}())};
/** Flags that are not forbidden by an assert in script validation */
bool IsValidFlagCombination(unsigned flags);
#endif // BITCOIN_TEST_UTIL_SCRIPT_H