diff options
author | Michael Ford <fanquake@gmail.com> | 2015-05-18 17:11:06 +0800 |
---|---|---|
committer | Michael Ford <fanquake@gmail.com> | 2015-05-18 17:11:06 +0800 |
commit | 08d9373e2faa2220b9417f8d8a59dc51000e823d (patch) | |
tree | b38e21beca088d2f49570b021c5baeed531d6ef7 /src/wallet/wallet.cpp | |
parent | 26e08a16a6fb64b535d10f5d459183092deefa50 (diff) |
Remove unused code from wallet and validation interface
Fixes #6109
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 3396a3a188..9e4964552e 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 { |