File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ using enum script_verify_flag_name;
154154static constexpr int MAX_SCRIPT_VERIFY_FLAGS_BITS = static_cast <int >(SCRIPT_VERIFY_END_MARKER);
155155
156156// assert there is still a spare bit
157- static_assert (0 < MAX_SCRIPT_VERIFY_FLAGS_BITS && MAX_SCRIPT_VERIFY_FLAGS_BITS <= 31 );
157+ static_assert (0 < MAX_SCRIPT_VERIFY_FLAGS_BITS && MAX_SCRIPT_VERIFY_FLAGS_BITS <= 63 );
158158
159159static constexpr script_verify_flags::value_type MAX_SCRIPT_VERIFY_FLAGS = ((script_verify_flags::value_type{1 } << MAX_SCRIPT_VERIFY_FLAGS_BITS) - 1 );
160160
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ enum class script_verify_flag_name : uint8_t;
1414class script_verify_flags
1515{
1616public:
17- using value_type = uint32_t ;
17+ using value_type = uint64_t ;
1818
1919 consteval script_verify_flags () = default;
2020
You can’t perform that action at this time.
0 commit comments