aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-06-13 17:11:09 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-06-14 08:02:45 +0200
commitfa621ededdfe31a200b77a8787de7e3d2e667aec (patch)
treea2ed1f8f92630acb201c1fc3d57e2eab550a8ad2 /src/script
parent9c1ec689f353d3d7c34695a074f82bb2ea449538 (diff)
downloadbitcoin-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.h3
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).