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
1 changed files with 2 additions and 1 deletions

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;