Skip to content

Commit

Permalink
Add internal error check
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Jul 3, 2024
1 parent abf4801 commit 9e5f2b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ledger/LedgerManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9e5f2b2

Please sign in to comment.