mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
faster epic address loading
This commit is contained in:
parent
2e604ad9d4
commit
cdbce96f40
1 changed files with 3 additions and 3 deletions
|
@ -1877,6 +1877,9 @@ class EpicCashWallet extends CoinServiceAPI {
|
|||
boxName: walletId, key: "creationHeight", value: await chainHeight);
|
||||
}
|
||||
|
||||
final int curAdd = await setCurrentIndex();
|
||||
_currentReceivingAddress = _getCurrentAddressForChain(curAdd);
|
||||
|
||||
if (!await startScans()) {
|
||||
refreshMutex = false;
|
||||
GlobalEventBus.instance.fire(
|
||||
|
@ -1895,9 +1898,6 @@ class EpicCashWallet extends CoinServiceAPI {
|
|||
);
|
||||
return;
|
||||
}
|
||||
final int curAdd = await setCurrentIndex();
|
||||
|
||||
_currentReceivingAddress = _getCurrentAddressForChain(curAdd);
|
||||
|
||||
await processAllSlates();
|
||||
await processAllCancels();
|
||||
|
|
Loading…
Reference in a new issue