From fc80b77fc46cb5a1f0dba9de477b428fb503eacc Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2020 10:32:28 -0700 Subject: [PATCH] Increase buffer on low SOL fault to over a week (#8903) (#8904) automerge --- watchtower/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/watchtower/src/main.rs b/watchtower/src/main.rs index b4fcf7bb95..bc96edfbf2 100644 --- a/watchtower/src/main.rs +++ b/watchtower/src/main.rs @@ -225,7 +225,9 @@ fn main() -> Result<(), Box> { .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),