diff options
| author | Jeffrey Czyz <[email protected]> | 2019-11-08 13:22:36 -0800 |
|---|---|---|
| committer | Jeffrey Czyz <[email protected]> | 2020-02-27 17:59:07 -0800 |
| commit | 0aed17ef2892478c28cd660e53223c6dd1dc0187 (patch) | |
| tree | dc2290695c6d65e7917df9d83e8e4da5f5ce6e1a /src/init.cpp | |
| parent | Merge #18212: doc: add missing step in win deployment instructions (diff) | |
| download | discoin-0aed17ef2892478c28cd660e53223c6dd1dc0187.tar.xz discoin-0aed17ef2892478c28cd660e53223c6dd1dc0187.zip | |
Refactor FormatStateMessage into ValidationState
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index ece6214aa..1c9faec80 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -51,7 +51,6 @@ #include <util/system.h> #include <util/threadnames.h> #include <util/translation.h> -#include <util/validation.h> #include <util/asmap.h> #include <validation.h> #include <hash.h> @@ -710,7 +709,7 @@ static void ThreadImport(std::vector<fs::path> vImportFiles) // scan for better chains in the block chain database, that are not yet connected in the active best chain BlockValidationState state; if (!ActivateBestChain(state, chainparams)) { - LogPrintf("Failed to connect best block (%s)\n", FormatStateMessage(state)); + LogPrintf("Failed to connect best block (%s)\n", state.ToString()); StartShutdown(); return; } |