Skip to content

Commit

Permalink
brackets(minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Nov 18, 2022
1 parent 1cdad60 commit 2a67d23
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ripple/app/tx/impl/NFTokenBurn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ NFTokenBurn::preclaim(PreclaimContext const& ctx)
}
}

// If there are too many offers, then burning the token would produce too
// much metadata. Disallow burning a token with too many offers.
if (!ctx.view.rules().enabled(fixUnburnableNFToken))
{
// If there are too many offers, then burning the token would produce too
// much metadata. Disallow burning a token with too many offers.
return nft::notTooManyOffers(ctx.view, ctx.tx[sfNFTokenID]);

}

return tesSUCCESS;
}

Expand Down

0 comments on commit 2a67d23

Please sign in to comment.