mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Integration test to validate the WS ledger results.
* Also replace a couple of magic values with the relevant Tuning param.
This commit is contained in:
committed by
Vinnie Falco
parent
dddcc09378
commit
e838b30def
@@ -486,7 +486,8 @@ checkTxJsonFields (
|
||||
|
||||
// Check for current ledger.
|
||||
if (verify && !getConfig ().RUN_STANDALONE &&
|
||||
(apiFacade.getValidatedLedgerAge() > 120))
|
||||
(apiFacade.getValidatedLedgerAge() >
|
||||
Tuning::maxValidatedLedgerAge))
|
||||
{
|
||||
ret.first = rpcError (rpcNO_CURRENT);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user