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
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;