this->syncStatusUpdated(walletHeight, daemonHeight);
if (this->isSynchronized()) {
- this->coins()->refreshUnlocked();
- this->history()->refresh(this->currentSubaddressAccount());
- // Todo: only refresh tx confirmations
+ this->refreshModels();
}
}
void Wallet::onUpdated() {
- if (m_walletImpl->synchronized()) {
- this->refreshModels();
- this->storeSafer();
- }
-
this->updateBalance();
}
}
if (!this->refreshedOnce) {
- this->refreshModels();
this->refreshedOnce = true;
emit walletRefreshed();
// store wallet immediately upon finishing synchronization