mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Bugfix.
This commit is contained in:
@@ -1870,7 +1870,7 @@ Json::Value RPCHandler::doLedger(Json::Value jvRequest, int& cost, ScopedLock& M
|
|||||||
|
|
||||||
if ((bFull || bAccounts) && !lpLedger->isImmutable())
|
if ((bFull || bAccounts) && !lpLedger->isImmutable())
|
||||||
{ // For full or accounts, it's cheaper to snapshot
|
{ // For full or accounts, it's cheaper to snapshot
|
||||||
lpLedger = boost::make_shared<Ledger>(*lpLedger, true);
|
lpLedger = boost::make_shared<Ledger>(*lpLedger, false);
|
||||||
assert(lpLedger->isImmutable());
|
assert(lpLedger->isImmutable());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user