minor correction

Signed-off-by: Pratik Mankawde <pmankawde@ripple.com>
This commit is contained in:
Pratik Mankawde
2025-11-17 15:54:41 +00:00
parent 4024483572
commit c8e47cc635

View File

@@ -200,9 +200,8 @@ SetTrust::preclaim(PreclaimContext const& ctx)
// This might be nullptr
auto const sleDst = ctx.view.read(keylet::account(uDstAccountID));
if (ammEnabled(
ctx.view.rules() ||
ctx.view.rules().enabled(featureSingleAssetVault)) &&
if ((ammEnabled(ctx.view.rules()) ||
ctx.view.rules().enabled(featureSingleAssetVault)) &&
sleDst == nullptr)
return tecNO_DST;