diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-06-13 17:11:09 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-06-14 08:02:45 +0200 |
commit | fa621ededdfe31a200b77a8787de7e3d2e667aec (patch) | |
tree | a2ed1f8f92630acb201c1fc3d57e2eab550a8ad2 /src/script | |
parent | 9c1ec689f353d3d7c34695a074f82bb2ea449538 (diff) | |
download | bitcoin-fa621ededdfe31a200b77a8787de7e3d2e667aec.tar.xz |
refactor: Pass script verify flags as uint32_t
They are cast to unsigned anyway when calling VerifyScript,
bitcoinconsensus_verify_script*, or CountWitnessSigOps.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/interpreter.h | 3 |
1 files changed, 1 insertions, 2 deletions
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). |