diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index b8cd2f458b..f8c8e167a9 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -488,17 +488,6 @@ void WalletModel::listCoins(std::map >& mapCoins) wallet->AvailableCoins(vCoins, true, nullptr, false); LOCK2(cs_main, wallet->cs_wallet); // ListLockedCoins, mapWallet - std::vector vLockedCoins; - - // add locked coins - for (auto const& outpoint : vLockedCoins) - { - if (!wallet->mapWallet.count(outpoint.hash)) continue; - int nDepth = wallet->mapWallet[outpoint.hash].GetDepthInMainChain(); - if (nDepth < 0) continue; - COutput out(&wallet->mapWallet[outpoint.hash], outpoint.n, nDepth); - vCoins.push_back(out); - } for (auto const& out : vCoins) {