Update src/libxrpl/tx/transactors/Batch.cpp

Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
This commit is contained in:
Denis Angell
2026-03-18 02:00:43 +01:00
committed by GitHub
parent 200f93a287
commit d892f0e73d

View File

@@ -488,10 +488,8 @@ Batch::checkBatchSign(PreclaimContext const& ctx)
}
else
{
// LCOV_EXCL_START
if (!publicKeyType(makeSlice(pkSigner)))
return tefBAD_AUTH;
// LCOV_EXCL_STOP
return tefBAD_AUTH; // LCOV_EXCL_LINE
auto const idSigner = calcAccountID(PublicKey(makeSlice(pkSigner)));
auto const sleAccount = ctx.view.read(keylet::account(idAccount));