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:
Martin Zumsande authored and TheCharlatan committed 2024-10-08 22:45:06 +02:00
1 parent 8f1246e833
commit 31cc5006c3
1 file changed
+1 -1
+1 -1
View File
@@ -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.")};
}