We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 880ce7d commit 241b2c7Copy full SHA for 241b2c7
src/validation.cpp
@@ -4243,7 +4243,7 @@ bool CChainState::RewindBlockIndex(const CChainParams& params)
4243
4244
CValidationState state;
4245
// Loop until the tip is below nHeight, or we reach a pruned block.
4246
- while (true) {
+ while (!ShutdownRequested()) {
4247
{
4248
LOCK(cs_main);
4249
// Make sure nothing changed from under us (this won't happen because RewindBlockIndex runs before importing/network are active)
0 commit comments