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