diff options
-rw-r--r-- | src/node/chainstate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index 41c0ff2118..626010d26f 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.cpp @@ -198,9 +198,10 @@ ChainstateLoadResult VerifyLoadedChainstate(ChainstateManager& chainman, const C options.check_blocks); switch (result) { case VerifyDBResult::SUCCESS: - case VerifyDBResult::INTERRUPTED: case VerifyDBResult::SKIPPED_MISSING_BLOCKS: break; + case VerifyDBResult::INTERRUPTED: + return {ChainstateLoadStatus::INTERRUPTED, _("Block verification was interrupted")}; case VerifyDBResult::CORRUPTED_BLOCK_DB: return {ChainstateLoadStatus::FAILURE, _("Corrupted block database detected")}; case VerifyDBResult::SKIPPED_L3_CHECKS: |