mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Avoid implicit-integer-sign-change in VerifyLoadedChainstate
This commit is contained in:
parent
cf22191fd8
commit
fa462ea787
3 changed files with 12 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue