mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 16:57:56 +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)
|
if (bSnapshot)
|
||||||
{
|
{
|
||||||
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getClosedLedger ();
|
Ledger::pointer lpLedger = getApp().getLedgerMaster ().getPublishedLedger ();
|
||||||
const Json::Value jvMarker = Json::Value (Json::nullValue);
|
const Json::Value jvMarker = Json::Value (Json::nullValue);
|
||||||
|
|
||||||
if (bBoth)
|
if (bBoth)
|
||||||
|
|||||||
Reference in New Issue
Block a user