diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-19 17:21:49 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-26 14:49:47 +0200 |
commit | fe5234645036178a540fdd4166b26493b0b40529 (patch) | |
tree | 37e7d06501542b28ebe30c4d44ee49a2ae8b7e11 /src/wallet.cpp | |
parent | 0d09b3e8b0218169ab7ad2aa787c43ea11bc7060 (diff) |
Do not treat fFromMe transaction differently when broadcasting
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 14 |
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) |