aboutsummaryrefslogtreecommitdiff
path: root/src/index/base.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-05-01 13:49:37 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-05-01 13:48:42 +0200
commitfafb880e8854f9b7fb3934e02a0bd0409aec72c2 (patch)
treec7bc7f2b4b47c2188ac29afde951390360e7ef28 /src/index/base.cpp
parentd22e7ee93313b13365bd14a5fffeb055cff4dcd2 (diff)
refactor: [index] Replace deprecated char with uint8_t in serialization
Diffstat (limited to 'src/index/base.cpp')
-rw-r--r--src/index/base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/base.cpp b/src/index/base.cpp
index 9e637c9c6f..357c4fbaf9 100644
--- a/src/index/base.cpp
+++ b/src/index/base.cpp
@@ -13,7 +13,7 @@
#include <validation.h> // For g_chainman
#include <warnings.h>
-constexpr char DB_BEST_BLOCK = 'B';
+constexpr uint8_t DB_BEST_BLOCK{'B'};
constexpr int64_t SYNC_LOG_INTERVAL = 30; // seconds
constexpr int64_t SYNC_LOCATOR_WRITE_INTERVAL = 30; // seconds