Don't sign/submit when network is not stable.

This commit is contained in:
JoelKatz
2013-07-03 07:50:01 -07:00
parent 86196a6e46
commit c46a89e7ad

View File

@@ -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);
} }