Refactor FormatStateMessage into ValidationState
This commit is contained in:
1 parent
fe63d79eab
commit
0aed17ef28
15 files changed
+47
-87
No files matched your search
@@ -11,7 +11,6 @@
|
||||
#include <primitives/block.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <scheduler.h>
|
||||
#include <util/validation.h>
|
||||
|
||||
#include <future>
|
||||
#include <unordered_map>
|
||||
@@ -193,7 +192,7 @@ void CMainSignals::ChainStateFlushed(const CBlockLocator &locator) {
|
||||
|
||||
void CMainSignals::BlockChecked(const CBlock& block, const BlockValidationState& state) {
|
||||
LOG_EVENT("%s: block hash=%s state=%s", __func__,
|
||||
block.GetHash().ToString(), FormatStateMessage(state));
|
||||
block.GetHash().ToString(), state.ToString());
|
||||
m_internals->BlockChecked(block, state);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user