From 18cf749ad92440b93818feb7bfc43ea7faf535d9 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 15 Oct 2020 00:39:04 +0200 Subject: [PATCH] Fix wallet update regression Would cause subaddresses and history to update more often than necessary. --- src/libwalletqt/Wallet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 400fc84..e0c55c7 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -492,8 +492,7 @@ bool Wallet::refresh(bool historyAndSubaddresses /* = true */) m_subaddress->refresh(currentSubaddressAccount()); m_subaddressAccount->getAll(); } - if (result) - emit updated(); + return result; } }