Increase buffer on low SOL fault to over a week (#8903) (#8904)

automerge
This commit is contained in:
mergify[bot]
2020-03-17 10:32:28 -07:00
committed by GitHub
parent 5a7707362c
commit fc80b77fc4

View File

@ -225,7 +225,9 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.get_balance(&Pubkey::from_str(&validator_identity).unwrap_or_default())
.map(lamports_to_sol)
.map(|balance| {
if balance < 1.0 {
if balance < 10.0 {
// At 1 SOL/day for validator voting fees, this gives over a week to
// find some more SOL
failures.push((
"balance",
format!("{} has {} SOL", validator_identity, balance),