Snapshots should come from the last published ledger.

This commit is contained in:
David Schwartz
2013-07-25 09:56:03 -07:00
parent 3c06984031
commit f30569baab

View File

@@ -3300,7 +3300,7 @@ Json::Value RPCHandler::doSubscribe (Json::Value params, LoadType* loadType, Sco
if (bSnapshot)
{
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getClosedLedger ();
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getPublishedLedger ();
const Json::Value jvMarker = Json::Value (Json::nullValue);
if (bBoth)