diff options
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index da92a1d1ca..1de2cda5cd 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4243,7 +4243,7 @@ bool CChainState::RewindBlockIndex(const CChainParams& params) CValidationState state; // Loop until the tip is below nHeight, or we reach a pruned block. - while (true) { + while (!ShutdownRequested()) { { LOCK(cs_main); // Make sure nothing changed from under us (this won't happen because RewindBlockIndex runs before importing/network are active) |