]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Coins: remove unused function
authortobtoht <tob@featherwallet.org>
Wed, 12 Mar 2025 13:34:22 +0000 (14:34 +0100)
committertobtoht <tob@featherwallet.org>
Wed, 12 Mar 2025 13:34:22 +0000 (14:34 +0100)
src/libwalletqt/Coins.cpp
src/libwalletqt/Coins.h

index f5540a295e2b59746992f36b0f80b2a35e54309e..7f4d452a805a4b27ba485c2042546993fbb80a76 100644 (file)
@@ -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();
index a07ad8762a2a94ba3caec30218d25d8c9c260429..f6fa2b12cc32366468deb450dab139940ef27063 100644 (file)
@@ -24,7 +24,6 @@ Q_OBJECT
 
 public:
     void refresh();
-    void refreshUnlocked();
     quint64 count() const;
 
     const CoinsInfo& getRow(qsizetype i);