Skip to content

Commit

Permalink
style: ci lint with black
Browse files Browse the repository at this point in the history
  • Loading branch information
jalbrekt85 authored and github-actions[bot] committed Jul 18, 2024
1 parent c3fb64e commit 8c31731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fee_allocator/accounting/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ def handle_aura_min(incentives: dict, min_aura_incentive: Decimal):
"""
# First we shift all incentives from pools that are under the min_aura_incentive to the balancer market
# We keep track of our debt to the Aura market

overrides = requests.get(OVERRIDES_URL).json()
debt_to_aura_market = 0
for pool_id, _data in incentives.items():
override_data = overrides.get(pool_id, {})
override_aura_to_bal = override_data.get("voting_pool_override") == "bal"

if _data["aura_incentives"] < min_aura_incentive or override_aura_to_bal:
# if _data["aura_incentives"] < min_aura_incentive:
# if _data["aura_incentives"] < min_aura_incentive:
# Calculate incentives to redistribute
incentives_to_redistribute = _data["aura_incentives"]
# Set incentives to redistribute to 0
Expand Down

0 comments on commit 8c31731

Please sign in to comment.