diff options
| author | Michael Ford <[email protected]> | 2015-05-18 17:11:06 +0800 |
|---|---|---|
| committer | Michael Ford <[email protected]> | 2015-05-18 17:11:06 +0800 |
| commit | 08d9373e2faa2220b9417f8d8a59dc51000e823d (patch) | |
| tree | b38e21beca088d2f49570b021c5baeed531d6ef7 /src/wallet/wallet.cpp | |
| parent | Merge pull request #6126 (diff) | |
| download | discoin-08d9373e2faa2220b9417f8d8a59dc51000e823d.tar.xz discoin-08d9373e2faa2220b9417f8d8a59dc51000e823d.zip | |
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 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 { |