Skip to content

Commit

Permalink
Fix broken import
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAurelius committed Sep 11, 2024
1 parent fecb513 commit 7aee235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/staking_rewards/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import math
import traceback

from web3.middleware import geth_poa_middleware
from web3.middleware import ExtraDataToPOAMiddleware
from discord.ext import tasks

from ..constants import SKLIMA_ADDRESS
Expand All @@ -18,7 +18,7 @@

# Initialize web3
web3 = get_polygon_web3()
web3.middleware_onion.inject(geth_poa_middleware, layer=0)
web3.middleware_onion.inject(ExtraDataToPOAMiddleware, layer=0)

# Load ABIs
SKLIMA_ABI = load_abi('sklima.json')
Expand Down

0 comments on commit 7aee235

Please sign in to comment.