Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename DisallowIncoming flag for NFTs #533

Merged
merged 2 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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