refactor: Replace !=/== tesSuccess with using isTesSuccess (#6409)

This change replaces all instances of `<variable> != tesSUCCESS` with `!isTesSuccess(<variable>)` and `<variable> == tesSUCCESS` with `isTesSuccess(<variable>)`.
This commit is contained in:
Mayukha Vadari
2026-03-18 10:15:10 -04:00
committed by GitHub
parent 6fbeb04d9e
commit dcaef828b4
60 changed files with 178 additions and 177 deletions

View File

@@ -114,7 +114,7 @@ bool
applyFeeAndTestResult(jtx::Env& env, OpenView& view, STTx const& tx)
{
auto const res = apply(env.app(), view, tx, ApplyFlags::tapNONE, env.journal);
return res.ter == tesSUCCESS;
return isTesSuccess(res.ter);
}
bool