mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 12:35:50 +00:00
Don't sign/submit when network is not stable.
This commit is contained in:
@@ -3682,9 +3682,7 @@ Json::Value RPCHandler::doCommand (const Json::Value& params, int iRole, LoadTyp
|
|||||||
return rpcError (rpcNO_NETWORK);
|
return rpcError (rpcNO_NETWORK);
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX Should verify we have a current ledger.
|
if ((commandsA[i].iOptions & optCurrent) && (theApp->getLedgerMaster().getValidatedLedgerAge() > 60))
|
||||||
|
|
||||||
if ((commandsA[i].iOptions & optCurrent) && false)
|
|
||||||
{
|
{
|
||||||
return rpcError (rpcNO_CURRENT);
|
return rpcError (rpcNO_CURRENT);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user