faster epic address loading

This commit is contained in:
julian 2022-09-12 07:26:06 -06:00
parent 2e604ad9d4
commit cdbce96f40

View file

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