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:
commit
80bd8e085d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue