From 08d9373e2faa2220b9417f8d8a59dc51000e823d Mon Sep 17 00:00:00 2001 From: Michael Ford Date: Mon, 18 May 2015 17:11:06 +0800 Subject: Remove unused code from wallet and validation interface Fixes #6109 --- src/wallet/wallet.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/wallet/wallet.cpp') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 3396a3a18..9e4964552 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -775,18 +775,6 @@ void CWallet::SyncTransaction(const CTransaction& tx, const CBlock* pblock) } } -void CWallet::EraseFromWallet(const uint256 &hash) -{ - if (!fFileBacked) - return; - { - LOCK(cs_wallet); - if (mapWallet.erase(hash)) - CWalletDB(strWalletFile).EraseTx(hash); - } - return; -} - isminetype CWallet::IsMine(const CTxIn &txin) const { -- cgit v1.2.3