diff --git a/src/wallet.cpp b/src/wallet.cpp index 2d79b3bd90..f9ffd8ec31 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -743,6 +743,10 @@ void CWalletTx::AddSupportingTransactions() { tx = *mapWalletPrev[hash]; } + else + { + continue; + } int nDepth = tx.SetMerkleBranch(); vtxPrev.push_back(tx);