From a3365545df77a763b45a3998ebfa554217b84cff Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Sun, 28 Sep 2025 19:10:12 -0400 Subject: [PATCH] Review feedback from @Bronek - Exclude impossible logging from code coverage, too. --- src/xrpld/app/tx/detail/Transactor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xrpld/app/tx/detail/Transactor.cpp b/src/xrpld/app/tx/detail/Transactor.cpp index 30a7ce70cc..9178130681 100644 --- a/src/xrpld/app/tx/detail/Transactor.cpp +++ b/src/xrpld/app/tx/detail/Transactor.cpp @@ -237,11 +237,11 @@ Transactor::preflight2(PreflightContext const& ctx) auto const sigValid = checkValidity( ctx.app.getHashRouter(), ctx.tx, ctx.rules, ctx.app.config()); if (sigValid.first == Validity::SigBad) - { + { // LCOV_EXCL_START JLOG(ctx.j.debug()) << "preflight2: bad signature. " << sigValid.second; - return temINVALID; // LCOV_EXCL_LINE - } + return temINVALID; + } // LCOV_EXCL_STOP } return tesSUCCESS; }