diff --git a/src/raw_imbalances.py b/src/raw_imbalances.py index 6094f82..e59601c 100644 --- a/src/raw_imbalances.py +++ b/src/raw_imbalances.py @@ -342,8 +342,8 @@ def compute_token_imbalances(self, tx_hash: str) -> dict[str, int]: except Exception as e: logger.error(f"Failed to compute imbalances for transaction {tx_hash}: {e}") return {} - - def get_transaction_tokens(self, tx_hash: str) -> list[tuple[str,str]]: + + def get_transaction_tokens(self, tx_hash: str) -> list[tuple[str, str]]: token_imbalances = self.compute_token_imbalances(tx_hash) transaction_tokens = [] for token_address in token_imbalances.keys(): @@ -351,7 +351,6 @@ def get_transaction_tokens(self, tx_hash: str) -> list[tuple[str,str]]: return transaction_tokens - def main() -> None: """main function for finding imbalance for a single tx hash.""" tx_hash = input("Enter transaction hash: ")