mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Review feedback from @Bronek
- Exclude impossible logging from code coverage, too.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user