Skip to content

Commit

Permalink
fix misc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Feb 4, 2025
1 parent 4b93e16 commit 26a66bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ripple/app/tx/impl/Escrow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,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;
}

Expand Down Expand Up @@ -729,8 +729,8 @@ EscrowCancel::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;
}

Expand Down

0 comments on commit 26a66bc

Please sign in to comment.