Avoid implicit-integer-sign-change in VerifyLoadedChainstate

This commit is contained in:
MarcoFalke
2022-02-21 10:41:08 +01:00
parent cf22191fd8
commit fa462ea787
3 changed files with 12 additions and 5 deletions

View File

@@ -129,8 +129,8 @@ std::optional<ChainstateLoadVerifyError> VerifyLoadedChainstate(ChainstateManage
bool fReset,
bool fReindexChainState,
const Consensus::Params& consensus_params,
unsigned int check_blocks,
unsigned int check_level,
int check_blocks,
int check_level,
std::function<int64_t()> get_unix_time_seconds)
{
auto is_coinsview_empty = [&](CChainState* chainstate) EXCLUSIVE_LOCKS_REQUIRED(::cs_main) {