mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add modify function to OpenLedger::accept
This commit is contained in:
committed by
Edward Hennis
parent
6700e44793
commit
656a6c5eb5
@@ -104,7 +104,8 @@ Env::closed() const
|
||||
}
|
||||
|
||||
void
|
||||
Env::close(NetClock::time_point const& closeTime)
|
||||
Env::close(NetClock::time_point const& closeTime,
|
||||
OpenLedger::modify_type const& f)
|
||||
{
|
||||
clock.set(closeTime);
|
||||
// VFALCO TODO Fix the Ledger constructor
|
||||
@@ -134,7 +135,7 @@ Env::close(NetClock::time_point const& closeTime)
|
||||
ledgerPossibleTimeResolutions[0], false, app().config());
|
||||
OrderedTxs locals({});
|
||||
openLedger.accept(app(), next->rules(), next,
|
||||
locals, false, retries, applyFlags(), *router);
|
||||
locals, false, retries, applyFlags(), *router, "", f);
|
||||
closed_ = next;
|
||||
cachedSLEs_.expire();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user