Merge pull request 'Store wallet immediately upon finishing sync' (#240) from tobtoht/feather:store_sync into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/240
This commit is contained in:
tobtoht 2020-12-18 23:25:09 +00:00
commit 80bd8e085d

View file

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