From 9e5f2b26136c8482f16a034364ffdfd2bb3be33d Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Wed, 3 Jul 2024 14:52:38 -0700 Subject: [PATCH] Add internal error check --- src/ledger/LedgerManagerImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ledger/LedgerManagerImpl.cpp b/src/ledger/LedgerManagerImpl.cpp index 9b03d850a9..1f1814b281 100644 --- a/src/ledger/LedgerManagerImpl.cpp +++ b/src/ledger/LedgerManagerImpl.cpp @@ -1629,8 +1629,9 @@ LedgerManagerImpl::applyThread(ThreadEntryMap& entryMap, Thread const& thread, } else { - releaseAssertOrThrow(txBundle.resPayload->getResultCode() == - txFAILED); + releaseAssertOrThrow( + txBundle.resPayload->getResultCode() == txFAILED || + txBundle.resPayload->getResultCode() == txINTERNAL_ERROR); } txBundle.mDelta = res.mDelta; }