From 668ce2c778ffe8fd1d28ac901d73967c21488188 Mon Sep 17 00:00:00 2001 From: jalbrekt85 Date: Mon, 20 Jan 2025 06:23:34 -0600 Subject: [PATCH] only skip chain if not in fees dict --- fee_allocator/accounting/fee_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fee_allocator/accounting/fee_pipeline.py b/fee_allocator/accounting/fee_pipeline.py index 035110d8..479b2c4c 100644 --- a/fee_allocator/accounting/fee_pipeline.py +++ b/fee_allocator/accounting/fee_pipeline.py @@ -69,7 +69,7 @@ def run_fees( poolutil = BalPoolsGauges(chain.value) listed_core_pools = core_pools.get(chain.value, None) pools = {} - if listed_core_pools is None or not fees_to_distribute.get(chain.value): + if listed_core_pools is None or chain.value not in fees_to_distribute: continue ### Remove any invalid core pools for pool_id, description in listed_core_pools.items():