mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Validated check was backwards.
This commit is contained in:
@@ -1450,7 +1450,7 @@ Json::Value RPCHandler::doTx(Json::Value jvRequest)
|
||||
ret["meta"] = set->getJson(0);
|
||||
ret["validated"] =
|
||||
theApp->getOPs().haveLedger(lgr->getLedgerSeq()) &&
|
||||
(lgr->getLedgerSeq() >= theApp->getLedgerMaster().getValidatedLedger()->getLedgerSeq());
|
||||
(lgr->getLedgerSeq() <= theApp->getLedgerMaster().getValidatedLedger()->getLedgerSeq());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user