diff --git a/core/src/replay_stage.rs b/core/src/replay_stage.rs index 2dd73462b..e35a10406 100644 --- a/core/src/replay_stage.rs +++ b/core/src/replay_stage.rs @@ -719,13 +719,18 @@ impl ReplayStage { stats.weight = tower.calculate_weight(&stake_lockouts); stats.stake_lockouts = stake_lockouts; stats.block_height = bank.block_height(); - stats.computed = true; } stats.vote_threshold = tower.check_vote_stake_threshold( bank.slot(), &stats.stake_lockouts, stats.total_staked, ); + if !stats.computed { + if !stats.vote_threshold { + info!("vote threshold check failed: {}", bank.slot()); + } + stats.computed = true; + } stats.is_locked_out = tower.is_locked_out(bank.slot(), &ancestors); stats.has_voted = tower.has_voted(bank.slot()); stats.is_recent = tower.is_recent(bank.slot());