Add an error code for a transaction that violates invariants.

This commit is contained in:
JoelKatz
2013-03-27 09:38:47 -07:00
parent bfb69664ff
commit 920098d930
3 changed files with 3 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ TER TransactionEngine::applyTransaction(const SerializedTransaction& txn, Transa
cLog(lsFATAL) << transToken(terResult) << ": " << transHuman(terResult);
cLog(lsFATAL) << mNodes.getJson(0);
didApply = false;
terResult = tefINTERNAL;
}
else
{