Set applied field to true even if engine result is not tesSUCCESS

This commit is contained in:
CJ Cobb
2020-03-10 13:54:53 -07:00
committed by Manoj doshi
parent b26ed948c8
commit 2a2ad898b1

View File

@@ -1184,6 +1184,7 @@ void NetworkOPsImp::apply (std::unique_lock<std::mutex>& batchLock)
{
pubProposedTransaction (newOL,
e.transaction->getSTransaction(), e.result);
e.transaction->setApplied();
}
e.transaction->setResult (e.result);
@@ -1224,7 +1225,6 @@ void NetworkOPsImp::apply (std::unique_lock<std::mutex>& batchLock)
t, false, false, FailHard::no);
t->setApplying();
}
e.transaction->setApplied();
}
else if (e.result == tefPAST_SEQ)
{