Skip to content

Commit

Permalink
rename DisallowIncoming flag for NFTs
Browse files Browse the repository at this point in the history
`asfDisallowIncomingNFTOffer` to `asfDisallowIncomingNFTokenOffer`

Related to XRPLF/rippled#4442
  • Loading branch information
ckniffen committed Mar 2, 2023
1 parent 2245270 commit 962deea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_account_set_flags(self):
asf_no_freeze=True,
asf_require_auth=True,
asf_require_dest=True,
asf_disable_incoming_nft_offer=True,
asf_disable_incoming_nftoken_offer=True,
asf_disable_incoming_check=True,
asf_disable_incoming_paychan=True,
asf_disable_incoming_trustline=True,
Expand Down
4 changes: 2 additions & 2 deletions xrpl/models/transactions/account_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class AccountSetFlag(int, Enum):
ASF_AUTHORIZED_NFTOKEN_MINTER = 10
"""Allow another account to mint and burn tokens on behalf of this account."""

ASF_DISABLE_INCOMING_NFT_OFFER = 12
ASF_DISABLE_INCOMING_NFTOKEN_OFFER = 12
"""Disallow other accounts from creating NFTokenOffers directed at this account."""

ASF_DISABLE_INCOMING_CHECK = 13
Expand Down Expand Up @@ -124,7 +124,7 @@ class AccountSetFlagInterface(FlagInterface):
ASF_REQUIRE_AUTH: bool
ASF_REQUIRE_DEST: bool
ASF_AUTHORIZED_NFTOKEN_MINTER: bool
ASF_DISABLE_INCOMING_NFT_OFFER: bool
ASF_DISABLE_INCOMING_NFTOKEN_OFFER: bool
ASF_DISABLE_INCOMING_CHECK: bool
ASF_DISABLE_INCOMING_PAYCHAN: bool
ASF_DISABLE_INCOMING_TRUSTLINE: bool
Expand Down

0 comments on commit 962deea

Please sign in to comment.