add URIToken deleter for account delete, change blank uri to tfBurn flag for burning

This commit is contained in:
Richard Holland
2023-01-30 13:22:06 +00:00
parent f4f51d0643
commit c164acd3d6
3 changed files with 48 additions and 11 deletions

View File

@@ -129,6 +129,9 @@ constexpr std::uint32_t const tfStrongTSH = 0x00008000;
constexpr std::uint32_t const tfNFTokenMintOldMask =
~(tfUniversal | tfBurnable | tfOnlyXRP | tfTrustLine | tfTransferable | tfStrongTSH);
// URIToken flags:
constexpr std::uint32_t const tfBurn = 0x00000002;
// Prior to fixRemoveNFTokenAutoTrustLine, transfer of an NFToken between
// accounts allowed a TrustLine to be added to the issuer of that token
// without explicit permission from that issuer. This was enabled by