From 0ea4517952a74d8c47eaa2420fe9c60737b34926 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 10 Apr 2023 11:58:19 -0600 Subject: [PATCH] quicker token wallet loading --- lib/services/ethereum/ethereum_token_service.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/services/ethereum/ethereum_token_service.dart b/lib/services/ethereum/ethereum_token_service.dart index 13e52b72e..1f930cf4c 100644 --- a/lib/services/ethereum/ethereum_token_service.dart +++ b/lib/services/ethereum/ethereum_token_service.dart @@ -257,12 +257,12 @@ class EthTokenWallet extends ChangeNotifier with EthTokenCache { final contractAddress = web3dart.EthereumAddress.fromHex(tokenContract.address); - // if (tokenContract.abi == null) { - _tokenContract = await _updateTokenABI( - forContract: tokenContract, - usingContractAddress: contractAddress.hex, - ); - // } + if (tokenContract.abi == null) { + _tokenContract = await _updateTokenABI( + forContract: tokenContract, + usingContractAddress: contractAddress.hex, + ); + } String? mnemonicString = await ethWallet.mnemonicString;