use stake config to defeat warmup in local_cluster (#5549)

* use stake config to defeat warmup in local_cluster

* fixups
This commit is contained in:
Rob Walker
2019-08-17 12:28:36 -07:00
committed by GitHub
parent 52c2191545
commit 01eb7600d9
2 changed files with 46 additions and 27 deletions

View File

@ -75,6 +75,7 @@ impl Tower {
if lamports == 0 {
continue;
}
trace!("{} {} with stake {}", self.node_pubkey, key, lamports);
let vote_state = VoteState::from(&account);
if vote_state.is_none() {
datapoint_warn!(