From d84ee4692dc88cb5167414fd9c20fe2476197402 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 18 Dec 2020 23:07:27 +0100 Subject: [PATCH] Store wallet immediately upon finishing sync --- src/appcontext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/appcontext.cpp b/src/appcontext.cpp index c496ae2..87caa0d 100644 --- a/src/appcontext.cpp +++ b/src/appcontext.cpp @@ -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;