Skip to content

Commit

Permalink
Fixed sui_deny_list_object_id comment (MystenLabs#16101)
Browse files Browse the repository at this point in the history
## Description 

Small doc fix

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
tnowacki authored Feb 6, 2024
1 parent d9be119 commit 3696f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sui-framework/docs/sui-framework/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ This should only be called once from <code><a href="random.md#0x2_random">random
## Function `sui_deny_list_object_id`

Create the <code><a href="object.md#0x2_object_UID">UID</a></code> for the singleton <code>DenyList</code> object.
This should only be called once from <code><a href="coin.md#0x2_coin">coin</a></code>.
This should only be called once from <code><a href="deny_list.md#0x2_deny_list">deny_list</a></code>.


<pre><code><b>public</b>(<b>friend</b>) <b>fun</b> <a href="object.md#0x2_object_sui_deny_list_object_id">sui_deny_list_object_id</a>(): <a href="object.md#0x2_object_UID">object::UID</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module sui::object {
}

/// Create the `UID` for the singleton `DenyList` object.
/// This should only be called once from `coin`.
/// This should only be called once from `deny_list`.
public(friend) fun sui_deny_list_object_id(): UID {
UID {
id: ID { bytes: SUI_DENY_LIST_OBJECT_ID }
Expand Down

0 comments on commit 3696f5f

Please sign in to comment.