From c4be4be4e405cf4e8df161f5c712d44cdd6851a9 Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Fri, 22 Dec 2023 23:01:18 +0000 Subject: [PATCH] clang --- src/ripple/app/tx/impl/Escrow.cpp | 3 ++- src/ripple/app/tx/impl/URIToken.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ripple/app/tx/impl/Escrow.cpp b/src/ripple/app/tx/impl/Escrow.cpp index 9abc42d19..7ddbc9f4b 100644 --- a/src/ripple/app/tx/impl/Escrow.cpp +++ b/src/ripple/app/tx/impl/Escrow.cpp @@ -441,7 +441,8 @@ EscrowFinish::preflight(PreflightContext const& ctx) if ((!ctx.tx.isFieldPresent(sfEscrowID) && !ctx.tx.isFieldPresent(sfOfferSequence)) || - ctx.tx.isFieldPresent(sfEscrowID) && ctx.tx.isFieldPresent(sfOfferSequence)) + ctx.tx.isFieldPresent(sfEscrowID) && + ctx.tx.isFieldPresent(sfOfferSequence)) return temMALFORMED; return tesSUCCESS; diff --git a/src/ripple/app/tx/impl/URIToken.cpp b/src/ripple/app/tx/impl/URIToken.cpp index b5da83d8a..11054ebac 100644 --- a/src/ripple/app/tx/impl/URIToken.cpp +++ b/src/ripple/app/tx/impl/URIToken.cpp @@ -182,7 +182,8 @@ URIToken::preclaim(PreclaimContext const& ctx) AccountID const acc = ctx.tx.getAccountID(sfAccount); uint16_t tt = ctx.tx.getFieldU16(sfTransactionType); - auto const sle = ctx.view.read(keylet::account(ctx.tx.getAccountID(sfAccount))); + auto const sle = + ctx.view.read(keylet::account(ctx.tx.getAccountID(sfAccount))); if (!sle) return tefINTERNAL;