Fix the flag processing of NFTokenModify (#5246)

Adds checks for invalid flags.
This commit is contained in:
tequ
2025-01-17 00:37:52 +09:00
committed by GitHub
parent ff8b9aa439
commit 9e4a7d5871
3 changed files with 23 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ constexpr std::uint32_t const tfNFTokenCreateOfferMask =
~(tfUniversal | tfSellNFToken);
// NFTokenCancelOffer flags:
constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~(tfUniversal);
constexpr std::uint32_t const tfNFTokenCancelOfferMask = ~tfUniversal;
// NFTokenAcceptOffer flags:
constexpr std::uint32_t const tfNFTokenAcceptOfferMask = ~tfUniversal;