Remove unused function.
authorCryptoManiac <balthazar@yandex.ru>
Thu, 31 Mar 2016 15:49:53 +0000 (18:49 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Thu, 31 Mar 2016 15:49:53 +0000 (18:49 +0300)
src/main.cpp

index 67e4d72..9ef3d64 100644 (file)
@@ -116,15 +116,6 @@ bool static IsFromMe(CTransaction& tx)
     return false;
 }
 
-// get the wallet transaction with the given hash (if it exists)
-bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx)
-{
-    BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered)
-        if (pwallet->GetTransaction(hashTx,wtx))
-            return true;
-    return false;
-}
-
 // erases transaction with the given hash from all wallets
 void static EraseFromWallets(uint256 hash)
 {