aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index a7a2992bb9..e37a835782 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1498,20 +1498,6 @@ void CWallet::PrintWallet(const CBlock& block)
LogPrintf("\n");
}
-bool CWallet::GetTransaction(const uint256 &hashTx, CWalletTx& wtx)
-{
- {
- LOCK(cs_wallet);
- map<uint256, CWalletTx>::iterator mi = mapWallet.find(hashTx);
- if (mi != mapWallet.end())
- {
- wtx = (*mi).second;
- return true;
- }
- }
- return false;
-}
-
bool CWallet::SetDefaultKey(const CPubKey &vchPubKey)
{
if (fFileBacked)