Store wallet immediately upon finishing sync

This commit is contained in:
tobtoht 2020-12-18 23:07:27 +01:00
parent 6c8255b12b
commit d84ee4692d
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -721,7 +721,8 @@ void AppContext::onWalletRefreshed(bool success) {
if (!this->refreshed) {
refreshModels();
this->refreshed = true;
this->storeWallet();
// store wallet immediately upon finishing synchronization
this->currentWallet->store();
}
qDebug() << "Wallet refresh status: " << success;