From: tobtoht Date: Wed, 12 Mar 2025 13:34:22 +0000 (+0100) Subject: Coins: remove unused function X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=de499b2386bf2e7a0a8b3eee3db9b8b57d9c2edb;p=gamesguru%2Ffeather.git Coins: remove unused function --- diff --git a/src/libwalletqt/Coins.cpp b/src/libwalletqt/Coins.cpp index f5540a29..7f4d452a 100644 --- a/src/libwalletqt/Coins.cpp +++ b/src/libwalletqt/Coins.cpp @@ -62,16 +62,6 @@ void Coins::refresh() emit refreshFinished(); } -void Coins::refreshUnlocked() -{ - for (CoinsInfo& c : m_rows) { - if (!c.unlocked) { - bool unlocked = m_wallet2->is_transfer_unlocked(c.unlockTime, c.blockHeight); - c.setUnlocked(unlocked); - } - } -} - quint64 Coins::count() const { return m_rows.length(); diff --git a/src/libwalletqt/Coins.h b/src/libwalletqt/Coins.h index a07ad876..f6fa2b12 100644 --- a/src/libwalletqt/Coins.h +++ b/src/libwalletqt/Coins.h @@ -24,7 +24,6 @@ Q_OBJECT public: void refresh(); - void refreshUnlocked(); quint64 count() const; const CoinsInfo& getRow(qsizetype i);