Closed 0Tech closed 4 months ago
This patch renames validateCoins() into validateFTCoins() and update its logic to reject valid NFT coins.
validateCoins()
validateFTCoins()
validateCoins() are only used on FT APIs, but does not reject NFT coins. This patch addresses the problem.
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.42%. Comparing base (e86b980) to head (2aacdd0).
e86b980
2aacdd0
Description
This patch renames
validateCoins()
intovalidateFTCoins()
and update its logic to reject valid NFT coins.Motivation and context
validateCoins()
are only used on FT APIs, but does not reject NFT coins. This patch addresses the problem.Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml