From 127097a1a4aaecf3725a4ea6d98ce85cf1954fbb Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 23 Jul 2024 14:39:57 -0400 Subject: [PATCH] fixed seller looping when gas is too high --- bot-seller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot-seller.py b/bot-seller.py index c506afc..05f61a7 100755 --- a/bot-seller.py +++ b/bot-seller.py @@ -84,7 +84,7 @@ while True: if get_beacon_gas_prices('rapid', beacon_gasnow_cache_seconds) > rapid_gas_fee_limit: logging.warning("Gas fees are too high") log_end_loop(loop_delay) - continue + break amount = selling_amounts[i] # check if the pdai/pusdc price is cheaper than affection price if (pdai_sample_result < affection_sample_result