From 58d49ac61b389b680a26b313b36fec6b0b3d2aa5 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 7 May 2020 09:31:17 +0100 Subject: [PATCH] txdb: log additional debug information. Signed-off-by: Daira Hopwood --- src/txdb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/txdb.cpp b/src/txdb.cpp index f9b9b77a4..c4945960c 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -587,14 +587,14 @@ bool CBlockTreeDB::LoadBlockIndexGuts( chainParams.GetConsensus().NetworkUpgradeActive(pindexNew->nHeight, Consensus::UPGRADE_HEARTWOOD)) { if (pindexNew->hashLightClientRoot != pindexNew->hashChainHistoryRoot) { return error( - "LoadBlockIndex(): block index inconsistency detected (hashLightClientRoot %s != hashChainHistoryRoot %s): %s", + "LoadBlockIndex(): block index inconsistency detected (post-Heartwood; hashLightClientRoot %s != hashChainHistoryRoot %s): %s", pindexNew->hashLightClientRoot.ToString(), pindexNew->hashChainHistoryRoot.ToString(), pindexNew->ToString()); } } else { if (pindexNew->hashLightClientRoot != pindexNew->hashFinalSaplingRoot) { return error( - "LoadBlockIndex(): block index inconsistency detected (hashLightClientRoot != hashFinalSaplingRoot): %s", - pindexNew->ToString()); + "LoadBlockIndex(): block index inconsistency detected (pre-Heartwood; hashLightClientRoot %s != hashFinalSaplingRoot %s): %s", + pindexNew->hashLightClientRoot.ToString(), pindexNew->hashFinalSaplingRoot.ToString(), pindexNew->ToString()); } } }