mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Okay to put immutable SLE in immutable LES.
This commit is contained in:
@@ -115,7 +115,7 @@ LedgerEntryAction LedgerEntrySet::hasEntry(const uint256& index) const
|
|||||||
void LedgerEntrySet::entryCache(SLE::ref sle)
|
void LedgerEntrySet::entryCache(SLE::ref sle)
|
||||||
{
|
{
|
||||||
assert(mLedger);
|
assert(mLedger);
|
||||||
assert(sle->isMutable());
|
assert(sle->isMutable() || !mImmutable);
|
||||||
std::map<uint256, LedgerEntrySetEntry>::iterator it = mEntries.find(sle->getIndex());
|
std::map<uint256, LedgerEntrySetEntry>::iterator it = mEntries.find(sle->getIndex());
|
||||||
if (it == mEntries.end())
|
if (it == mEntries.end())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user