mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Bypass signature check if it has already been done.
This commit is contained in:
@@ -101,8 +101,13 @@ Ledger::pointer LedgerMaster::closeLedger(bool recover)
|
||||
{
|
||||
try
|
||||
{
|
||||
TransactionEngineParams tepFlags = tapOPEN_LEDGER;
|
||||
|
||||
if (theApp->isNew(it->first.getTXID(), SF_SIGGOOD));
|
||||
tepFlags = static_cast<TransactionEngineParams>(tepFlags | tapNO_CHECK_SIGN);
|
||||
|
||||
bool didApply;
|
||||
mEngine.applyTransaction(*it->second, tapOPEN_LEDGER, didApply);
|
||||
mEngine.applyTransaction(*it->second, tepFlags, didApply);
|
||||
if (didApply)
|
||||
++recovers;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user