mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Small fixes.
This commit is contained in:
@@ -920,7 +920,7 @@ uint256 LedgerEntrySet::getNextLedgerIndex(const uint256& uHash)
|
||||
|
||||
// node found in LES, node found in ledger, return earliest
|
||||
if (it->second.mAction != taaDELETE)
|
||||
return (ledgerNext < it->first) ? ledgerNext : it->first;
|
||||
return (!ledgerNext.isZero() && (ledgerNext < it->first)) ? ledgerNext : it->first;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user