diff --git a/crates/sui-framework/docs/sui-framework/object.md b/crates/sui-framework/docs/sui-framework/object.md index 1853261b6d35f..a5a49df5c01b3 100644 --- a/crates/sui-framework/docs/sui-framework/object.md +++ b/crates/sui-framework/docs/sui-framework/object.md @@ -390,7 +390,7 @@ This should only be called once from random ## Function `sui_deny_list_object_id` 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(): object::UID
diff --git a/crates/sui-framework/packages/sui-framework/sources/object.move b/crates/sui-framework/packages/sui-framework/sources/object.move
index 26ba664507d7f..8c9bbf88f00e6 100644
--- a/crates/sui-framework/packages/sui-framework/sources/object.move
+++ b/crates/sui-framework/packages/sui-framework/sources/object.move
@@ -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 }