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