mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-09 20:29:57 +00:00
quicker token wallet loading
This commit is contained in:
parent
004c39102c
commit
0ea4517952
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue