mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
clang
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user