mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-02 10:14:31 +00:00
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
@ -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…
x
Reference in New Issue
Block a user