diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1285,8 +1285,6 @@ void CWallet::SyncTransaction(const CTransactionRef &ptx, const CBlockIndex *pindex, int posInBlock, bool update_tx) { - const CTransaction &tx = *ptx; - if (!AddToWalletIfInvolvingMe(ptx, pindex, posInBlock, update_tx)) { // Not one of ours return;