mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Fix an assert.
This commit is contained in:
@@ -115,7 +115,7 @@ LedgerEntryAction LedgerEntrySet::hasEntry(const uint256& index) const
|
||||
void LedgerEntrySet::entryCache(SLE::ref sle)
|
||||
{
|
||||
assert(mLedger);
|
||||
assert(sle->isMutable() || !mImmutable);
|
||||
assert(sle->isMutable() || mImmutable); // Don't put an immutable SLE in a mutable LES
|
||||
std::map<uint256, LedgerEntrySetEntry>::iterator it = mEntries.find(sle->getIndex());
|
||||
if (it == mEntries.end())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user