File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -693,18 +693,18 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const
693
693
// Check children against mapNextTx
694
694
CTxMemPool::setEntries setChildrenCheck;
695
695
auto iter = mapNextTx.lower_bound (COutPoint (it->GetTx ().GetHash (), 0 ));
696
- int64_t childSizes = 0 ;
696
+ uint64_t child_sizes = 0 ;
697
697
for (; iter != mapNextTx.end () && iter->first ->hash == it->GetTx ().GetHash (); ++iter) {
698
698
txiter childit = mapTx.find (iter->second ->GetHash ());
699
699
assert (childit != mapTx.end ()); // mapNextTx points to in-mempool transactions
700
700
if (setChildrenCheck.insert (childit).second ) {
701
- childSizes += childit->GetTxSize ();
701
+ child_sizes += childit->GetTxSize ();
702
702
}
703
703
}
704
704
assert (setChildrenCheck == GetMemPoolChildren (it));
705
705
// Also check to make sure size is greater than sum with immediate children.
706
706
// just a sanity check, not definitive that this calc is correct...
707
- assert (it->GetSizeWithDescendants () >= childSizes + it->GetTxSize ());
707
+ assert (it->GetSizeWithDescendants () >= child_sizes + it->GetTxSize ());
708
708
709
709
if (fDependsWait )
710
710
waitingOnDependants.push_back (&(*it));
You can’t perform that action at this time.
0 commit comments