Merge pull request #3356
d3ef9b0
Prevent empty transactions from being added to vtxPrev (Wladimir J. van der Laan)
This commit is contained in:
commit
b1961523f1
1 changed files with 4 additions and 0 deletions
|
@ -765,6 +765,10 @@ void CWalletTx::AddSupportingTransactions()
|
||||||
{
|
{
|
||||||
tx = *mapWalletPrev[hash];
|
tx = *mapWalletPrev[hash];
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
int nDepth = tx.SetMerkleBranch();
|
int nDepth = tx.SetMerkleBranch();
|
||||||
vtxPrev.push_back(tx);
|
vtxPrev.push_back(tx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue