Browse Source

Merge pull request #3356

d3ef9b0 Prevent empty transactions from being added to vtxPrev (Wladimir J. van der Laan)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
b1961523f1
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/wallet.cpp

4
src/wallet.cpp

@ -765,6 +765,10 @@ void CWalletTx::AddSupportingTransactions() @@ -765,6 +765,10 @@ void CWalletTx::AddSupportingTransactions()
{
tx = *mapWalletPrev[hash];
}
else
{
continue;
}
int nDepth = tx.SetMerkleBranch();
vtxPrev.push_back(tx);

Loading…
Cancel
Save