mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Compare current seq vs validated (RIPD-669)
This commit is contained in:
committed by
Nik Bougalis
parent
a90bb53cd2
commit
7a53f86fff
@@ -149,7 +149,9 @@ error_code_i fillHandler (Context& context,
|
||||
if (!getConfig ().RUN_STANDALONE
|
||||
&& (handler->condition_ & NEEDS_CURRENT_LEDGER)
|
||||
&& (getApp().getLedgerMaster().getValidatedLedgerAge() >
|
||||
Tuning::maxValidatedLedgerAge))
|
||||
Tuning::maxValidatedLedgerAge
|
||||
|| context.netOps.getCurrentLedgerID() <=
|
||||
context.netOps.getValidatedLedger ()->getLedgerSeq ()))
|
||||
{
|
||||
return rpcNO_CURRENT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user