diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2023-10-03 00:22:37 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2023-10-06 18:12:31 +0200 |
commit | a47fbe7d49e8921214ac159c558ff4ca19f98dce (patch) | |
tree | cadc331ce264d86b25fdb8ff35ed59e051492583 /src/validation.cpp | |
parent | 0a39b8cbd88e9a496823b36feed77d137ccd894c (diff) |
doc: Add and edit some comments around assumeutxo
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 27e1a9785b..07e8b9152b 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -68,8 +68,8 @@ #include <numeric> #include <optional> #include <string> -#include <utility> #include <tuple> +#include <utility> using kernel::CCoinsStats; using kernel::CoinStatsHashType; @@ -5367,7 +5367,7 @@ bool ChainstateManager::PopulateAndValidateSnapshot( // ActivateSnapshot(), but is done so that we avoid doing the long work of staging // a snapshot that isn't actually usable. if (WITH_LOCK(::cs_main, return !CBlockIndexWorkComparator()(ActiveTip(), snapshot_start_block))) { - LogPrintf("[snapshot] activation failed - height does not exceed active chainstate\n"); + LogPrintf("[snapshot] activation failed - work does not exceed active chainstate\n"); return false; } |