mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
init: Return fatal failure on snapshot validation failure
A general reindex won't typically help in this case, and there is already some action being taken with the call to `InvalidateCoinsDBOnDisk`.
This commit is contained in:
parent
8f1246e833
commit
31cc5006c3
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ ChainstateLoadResult LoadChainstate(ChainstateManager& chainman, const CacheSize
|
|||
return {init_status, init_error};
|
||||
}
|
||||
} else {
|
||||
return {ChainstateLoadStatus::FAILURE, _(
|
||||
return {ChainstateLoadStatus::FAILURE_FATAL, _(
|
||||
"UTXO snapshot failed to validate. "
|
||||
"Restart to resume normal initial block download, or try loading a different snapshot.")};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue