This repository was archived by the owner on Nov 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -509,11 +509,11 @@ def populate_tokens(self):
509509 self .token_list [token .address ] = token
510510 except AttributeError :
511511 pass
512- if self . ConfigObj . GAS_TKN_IN_FLASHLOAN_TOKENS :
513- native_gas_tkn = Token (symbol = self .ConfigObj .NATIVE_GAS_TOKEN_SYMBOL , address = self .ConfigObj .NATIVE_GAS_TOKEN_ADDRESS , decimals = 18 )
514- wrapped_gas_tkn = Token (symbol = self .ConfigObj .WRAPPED_GAS_TOKEN_SYMBOL , address = self .ConfigObj .WRAPPED_GAS_TOKEN_ADDRESS , decimals = 18 )
515- self .token_list [native_gas_tkn .address ] = native_gas_tkn
516- self .token_list [wrapped_gas_tkn .address ] = wrapped_gas_tkn
512+ # native and wrapped gas token info populated everytime
513+ native_gas_tkn = Token (symbol = self .ConfigObj .NATIVE_GAS_TOKEN_SYMBOL , address = self .ConfigObj .NATIVE_GAS_TOKEN_ADDRESS , decimals = 18 )
514+ wrapped_gas_tkn = Token (symbol = self .ConfigObj .WRAPPED_GAS_TOKEN_SYMBOL , address = self .ConfigObj .WRAPPED_GAS_TOKEN_ADDRESS , decimals = 18 )
515+ self .token_list [native_gas_tkn .address ] = native_gas_tkn
516+ self .token_list [wrapped_gas_tkn .address ] = wrapped_gas_tkn
517517
518518 def create_token (self , record : Dict [str , Any ], prefix : str ) -> Token :
519519 """
You can’t perform that action at this time.
0 commit comments