From 75148ab49cd4db81ee15b8df4f7c2fae61dddfce Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 24 Dec 2021 23:03:09 +0300 Subject: [PATCH] Fix 16854 merged via #4606 --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.cpp b/src/validation.cpp index a494b41e4f..fbb178b2ea 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2648,7 +2648,7 @@ void static UpdateTip(const CBlockIndex *pindexNew, const CChainParams& chainPar if (nUpgraded > 0) AppendWarning(warningMessages, strprintf(_("%d of last 100 blocks have unexpected version"), nUpgraded)); } - std::string strMessage = strprintf("%s: new best=%s height=%d version=0x%08x log2_work=%.8g tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo) evodb_cache=%.1fMiB%s\n", __func__, + LogPrintf("%s: new best=%s height=%d version=0x%08x log2_work=%.8g tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo) evodb_cache=%.1fMiB%s\n", __func__, pindexNew->GetBlockHash().ToString(), pindexNew->nHeight, pindexNew->nVersion, log(pindexNew->nChainWork.getdouble())/log(2.0), (unsigned long)pindexNew->nChainTx, FormatISO8601DateTime(pindexNew->GetBlockTime()),