mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-23 12:05:48 +00:00
Set applied field to true even if engine result is not tesSUCCESS
This commit is contained in:
@@ -1184,6 +1184,7 @@ void NetworkOPsImp::apply (std::unique_lock<std::mutex>& batchLock)
|
|||||||
{
|
{
|
||||||
pubProposedTransaction (newOL,
|
pubProposedTransaction (newOL,
|
||||||
e.transaction->getSTransaction(), e.result);
|
e.transaction->getSTransaction(), e.result);
|
||||||
|
e.transaction->setApplied();
|
||||||
}
|
}
|
||||||
|
|
||||||
e.transaction->setResult (e.result);
|
e.transaction->setResult (e.result);
|
||||||
@@ -1224,7 +1225,6 @@ void NetworkOPsImp::apply (std::unique_lock<std::mutex>& batchLock)
|
|||||||
t, false, false, FailHard::no);
|
t, false, false, FailHard::no);
|
||||||
t->setApplying();
|
t->setApplying();
|
||||||
}
|
}
|
||||||
e.transaction->setApplied();
|
|
||||||
}
|
}
|
||||||
else if (e.result == tefPAST_SEQ)
|
else if (e.result == tefPAST_SEQ)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user