From: CryptoManiac Date: Thu, 31 Mar 2016 15:49:53 +0000 (+0300) Subject: Remove unused function. X-Git-Tag: nvc-v0.5.8~17 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=e78811a329c528498cf7e64e6957a4bcba52c713 Remove unused function. --- diff --git a/src/main.cpp b/src/main.cpp index 67e4d72..9ef3d64 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {