Skip to content

Commit f8f5552

Browse files
author
MarcoFalke
committed
Merge bitcoin#21746: refactor: init: mark fReset const
785f9cc refactor: init: mark fReset const (James O'Beirne) Pull request description: Small thing, but hey - it doesn't change. ACKs for top commit: theStack: Code-review ACK 785f9cc Tree-SHA512: 3cb8d7037f517162f6315d561accc4932b0f1e340162c3283871433f2e355d57b3740c9d2e953ce33fbfa3b277c8437f91955fb70331b3fe9c8e6a8589dc2b49
2 parents 683dda2 + 785f9cc commit f8f5552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
13701370

13711371
bool fLoaded = false;
13721372
while (!fLoaded && !ShutdownRequested()) {
1373-
bool fReset = fReindex;
1373+
const bool fReset = fReindex;
13741374
auto is_coinsview_empty = [&](CChainState* chainstate) EXCLUSIVE_LOCKS_REQUIRED(::cs_main) {
13751375
return fReset || fReindexChainState || chainstate->CoinsTip().GetBestBlock().IsNull();
13761376
};

0 commit comments

Comments
 (0)