Merge pull request #3356

d3ef9b0 Prevent empty transactions from being added to vtxPrev (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan 2013-12-05 08:16:50 +01:00
commit b1961523f1
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 4 additions and 0 deletions

View File

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