quicker token wallet loading

This commit is contained in:
julian 2023-04-10 11:58:19 -06:00
parent 004c39102c
commit 0ea4517952

View file

@ -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;