From ef079d202b9b156c07e5c7fec56a1a1a9b2dc27f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 3 Apr 2021 22:50:58 +0000 Subject: [PATCH] Wait for 90 percent of stake before starting (#16340) (#16344) (cherry picked from commit 3429785d9b3cdae30c67bb93057107f55bcda7e2) Co-authored-by: sakridge --- core/src/validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/validator.rs b/core/src/validator.rs index f6606b9a3e..05ac87fa24 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -1365,7 +1365,7 @@ fn wait_for_supermajority( let gossip_stake_percent = get_stake_percent_in_gossip(&bank, &cluster_info, i % 10 == 0); - if gossip_stake_percent >= 80 { + if gossip_stake_percent >= 90 { break; } // The normal RPC health checks don't apply as the node is waiting, so feign health to