refactor: Pass script verify flags as uint32_t

They are cast to unsigned anyway when calling VerifyScript,
bitcoinconsensus_verify_script*, or CountWitnessSigOps.
This commit is contained in:
MarcoFalke
2021-06-13 17:11:09 +02:00
parent 9c1ec689f3
commit fa621ededd
8 changed files with 16 additions and 17 deletions

View File

@@ -39,8 +39,7 @@ enum
* All flags are intended to be soft forks: the set of acceptable scripts under
* flags (A | B) is a subset of the acceptable scripts under flag (A).
*/
enum
{
enum : uint32_t {
SCRIPT_VERIFY_NONE = 0,
// Evaluate P2SH subscripts (BIP16).