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 = final contractAddress =
web3dart.EthereumAddress.fromHex(tokenContract.address); web3dart.EthereumAddress.fromHex(tokenContract.address);
// if (tokenContract.abi == null) { if (tokenContract.abi == null) {
_tokenContract = await _updateTokenABI( _tokenContract = await _updateTokenABI(
forContract: tokenContract, forContract: tokenContract,
usingContractAddress: contractAddress.hex, usingContractAddress: contractAddress.hex,
); );
// } }
String? mnemonicString = await ethWallet.mnemonicString; String? mnemonicString = await ethWallet.mnemonicString;