From ab145cb3b471d07a2e8ee79edde46ec67f47d580 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Tue, 12 Mar 2024 16:04:20 -0400 Subject: [PATCH] Updates CBlockIndexWorkComparator outdated comment --- src/node/blockstorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp index 3c01ff2e8d6..81b55c2440f 100644 --- a/src/node/blockstorage.cpp +++ b/src/node/blockstorage.cpp @@ -161,7 +161,7 @@ bool CBlockIndexWorkComparator::operator()(const CBlockIndex* pa, const CBlockIn if (pa->nChainWork > pb->nChainWork) return false; if (pa->nChainWork < pb->nChainWork) return true; - // ... then by earliest time received, ... + // ... then by earliest activatable time, ... if (pa->nSequenceId < pb->nSequenceId) return false; if (pa->nSequenceId > pb->nSequenceId) return true;