Skip to content

Commit

Permalink
fix sfAmount field
Browse files Browse the repository at this point in the history
  • Loading branch information
tequdev committed Dec 5, 2023
1 parent f9e4cda commit 366db6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/app/tx/impl/NFTokenMint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NFTokenMint::preflight(PreflightContext const& ctx)
return temDISABLED;

if (!ctx.rules.enabled(featureNFTokenMintOffer) &&
(ctx.tx[sfAmount] || ctx.tx[~sfDestination] || ctx.tx[~sfExpiration]))
(ctx.tx[~sfAmount] || ctx.tx[~sfDestination] || ctx.tx[~sfExpiration]))
return temDISABLED;

if (auto const ret = preflight1(ctx); !isTesSuccess(ret))
Expand Down

0 comments on commit 366db6a

Please sign in to comment.