Skip to content
Open
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
5 changes: 4 additions & 1 deletion XLS-0065-single-asset-vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,10 @@ The `VaultSet` updates an existing `Vault` ledger object.

- Update mutable fields in the `Vault` ledger object.
- If `DomainID` is provided:
- Set `MPTokenIssuance(Vault.ShareMPTID).DomainID = DomainID` (Set the Permissioned Domain).
- If `DomainID` is zero:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this could be a touch clearer

Suggested change
- If `DomainID` is zero:
- If `DomainID` is zero (`000....000`):

- Clear `MPTokenIssuance(Vault.ShareMPTID).DomainID`
- Otherwise:
- Set `MPTokenIssuance(Vault.ShareMPTID).DomainID = DomainID` (Set the Permissioned Domain).

##### 3.1.2.3 Invariants

Expand Down
Loading