Skip to content

Commit

Permalink
Fix a bad merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-coding committed Oct 16, 2024
1 parent bfbb33b commit 8e968cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wen-restart/src/wen_restart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ pub(crate) fn receive_restart_heaviest_fork(
total_active_stake: 0,
wallclock: new_heaviest_fork.wallclock,
shred_version: new_heaviest_fork.shred_version as u32,
from: new_heaviest_fork.from.to_string(),
});
return Ok((coordinator_heaviest_slot, coordinator_heaviest_hash));
}
Expand Down Expand Up @@ -877,7 +878,6 @@ pub fn wait_for_wen_restart(config: WenRestartConfig) -> Result<()> {
// TODO(wen): remove this aggregate.
aggregate_restart_heaviest_fork(
&config.wen_restart_path,
config.wait_for_supermajority_threshold_percent,
config.cluster_info.clone(),
config.bank_forks.clone(),
config.exit.clone(),
Expand Down Expand Up @@ -1749,6 +1749,7 @@ mod tests {
.as_ref()
.unwrap()
.wallclock,
from: coordinator_keypair.pubkey().to_string(),
}),
..Default::default()
}
Expand Down

0 comments on commit 8e968cd

Please sign in to comment.