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):
509
509
self .token_list [token .address ] = token
510
510
except AttributeError :
511
511
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
517
517
518
518
def create_token (self , record : Dict [str , Any ], prefix : str ) -> Token :
519
519
"""
You can’t perform that action at this time.
0 commit comments