From 64b80e05733e022fbeecb3894bf9f534a28b0901 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 4 Aug 2015 10:23:14 -0700 Subject: [PATCH] Fix ledger loading on startup --- src/ripple/app/main/Application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ripple/app/main/Application.cpp b/src/ripple/app/main/Application.cpp index 7d59daac2..98417e6ce 100644 --- a/src/ripple/app/main/Application.cpp +++ b/src/ripple/app/main/Application.cpp @@ -1078,6 +1078,7 @@ ApplicationImp::getLastFullLedger() return ledger; ledger->setClosed (); + ledger->setImmutable(); if (getApp().getLedgerMaster ().haveLedger (ledgerSeq)) {