Review feedback from @Bronek

- Exclude impossible logging from code coverage, too.
This commit is contained in:
Ed Hennis
2025-09-28 19:10:12 -04:00
parent 1d85727675
commit a3365545df

View File

@@ -237,11 +237,11 @@ Transactor::preflight2(PreflightContext const& ctx)
auto const sigValid = checkValidity( auto const sigValid = checkValidity(
ctx.app.getHashRouter(), ctx.tx, ctx.rules, ctx.app.config()); ctx.app.getHashRouter(), ctx.tx, ctx.rules, ctx.app.config());
if (sigValid.first == Validity::SigBad) if (sigValid.first == Validity::SigBad)
{ { // LCOV_EXCL_START
JLOG(ctx.j.debug()) JLOG(ctx.j.debug())
<< "preflight2: bad signature. " << sigValid.second; << "preflight2: bad signature. " << sigValid.second;
return temINVALID; // LCOV_EXCL_LINE return temINVALID;
} } // LCOV_EXCL_STOP
} }
return tesSUCCESS; return tesSUCCESS;
} }