Account for stake held by the current node while waiting for the supermajority to join gossip

This commit is contained in:
Michael Vines
2020-01-07 20:35:09 -07:00
parent d4b23a0cc9
commit 57bc9c3ee7
2 changed files with 4 additions and 0 deletions

View File

@@ -625,6 +625,8 @@ fn get_stake_percent_in_gossip(
activated_stake
);
gossip_stake += activated_stake;
} else if vote_state.node_pubkey == cluster_info.read().unwrap().id() {
gossip_stake += activated_stake;
}
}