Skip to content

Commit

Permalink
fix auxiliary script
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Oct 16, 2024
1 parent 855579f commit cc5aff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_single_hash.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from hexbytes import HexBytes
from web3 import Web3
from src.imbalances_script import RawTokenImbalances
from src.raw_imbalances import RawTokenImbalances
from src.price_providers.price_feed import PriceFeed
from src.fees.compute_fees import compute_all_fees_of_batch
from src.transaction_processor import calculate_slippage
Expand All @@ -25,7 +25,7 @@ def __init__(self):
self.price_providers = PriceFeed()

def compute_data(self, tx_hash: str):
token_imbalances = self.imbalances.compute_imbalances(tx_hash)
token_imbalances = self.imbalances.compute_token_imbalances(tx_hash)
protocol_fees, partner_fees, network_fees = compute_all_fees_of_batch(
HexBytes(tx_hash)
)
Expand Down

0 comments on commit cc5aff1

Please sign in to comment.