# MutantHub mutant #2925: BIP9 statistics are selected by the next block's state instead of the current one
# Repository: bitcoin/bitcoin @ b8215855437288cac95c7fd5d41104c73c0f3495
# File: src/versionbits.cpp:210-210
# Review: APPROVED; outcome: SURVIVED
diff --git a/src/versionbits.cpp b/src/versionbits.cpp
index e282d21..28c6b45 100644
--- a/src/versionbits.cpp
+++ b/src/versionbits.cpp
@@ -207,7 +207,7 @@ BIP9Info VersionBitsCache::Info(const CBlockIndex& block_index, const Consensus:
     result.current_state = StateName(current_state);
     result.next_state = StateName(next_state);
 
-    const bool has_signal = (STARTED == current_state || LOCKED_IN == current_state);
+    const bool has_signal = (STARTED == next_state || LOCKED_IN == next_state);
     if (has_signal) {
         result.stats.emplace(checker.GetStateStatisticsFor(&block_index, &result.signalling_blocks));
         if (LOCKED_IN == current_state) {
