From fa621ededdfe31a200b77a8787de7e3d2e667aec Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sun, 13 Jun 2021 17:11:09 +0200 Subject: refactor: Pass script verify flags as uint32_t They are cast to unsigned anyway when calling VerifyScript, bitcoinconsensus_verify_script*, or CountWitnessSigOps. --- src/script/interpreter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/script') diff --git a/src/script/interpreter.h b/src/script/interpreter.h index fa4ee83e04..9b8f6df389 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -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). -- cgit v1.2.3