diff --git a/fastlane_bot/helpers/routehandler.py b/fastlane_bot/helpers/routehandler.py index 00eda3759..8eedda0b1 100644 --- a/fastlane_bot/helpers/routehandler.py +++ b/fastlane_bot/helpers/routehandler.py @@ -444,7 +444,9 @@ def _extract_single_flashloan_token(self, trade_instructions: List[TradeInstruct Generate a flashloan tokens and amounts. :param trade_instructions: A list of trade instruction objects """ - flash_tokens = {trade_instructions[0].tknin_key: {"tkn": self.wrapped_gas_token_to_native(trade_instructions[0]._tknin_address), + + + flash_tokens = {self.wrapped_gas_token_to_native(trade_instructions[0].tknin_key): {"tkn": self.wrapped_gas_token_to_native(trade_instructions[0]._tknin_address), "flash_amt": trade_instructions[0].amtin_wei, "decimals": trade_instructions[0].tknin_decimals}} return flash_tokens