mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Snapshots should come from the last published ledger.
This commit is contained in:
@@ -3321,7 +3321,7 @@ Json::Value RPCHandler::doSubscribe (Json::Value params, LoadType* loadType, App
|
||||
|
||||
if (bSnapshot)
|
||||
{
|
||||
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getClosedLedger ();
|
||||
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getPublishedLedger ();
|
||||
const Json::Value jvMarker = Json::Value (Json::nullValue);
|
||||
|
||||
if (bBoth)
|
||||
|
||||
Reference in New Issue
Block a user