Wait for 80% of the active stake instead of 75%

This commit is contained in:
Michael Vines 2020-03-09 20:31:09 -07:00
parent df8a69d15f
commit 36fa3a1a0a
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 2 additions and 2 deletions

View File

@ -621,14 +621,14 @@ fn wait_for_supermajority(
}
info!(
"Waiting for more than 75% of activated stake at slot {} to be in gossip...",
"Waiting for 80% of activated stake at slot {} to be in gossip...",
bank.slot()
);
loop {
let gossip_stake_percent = get_stake_percent_in_gossip(&bank, &cluster_info);
info!("{}% of activated stake in gossip", gossip_stake_percent,);
if gossip_stake_percent > 75 {
if gossip_stake_percent >= 80 {
break;
}
sleep(Duration::new(1, 0));