From 4ff033852d90590f402330f018603aab09092d77 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 17 Mar 2020 09:18:13 -0700 Subject: [PATCH] Increase buffer on low SOL fault to over a week (#8903) 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),