diff --git a/aptos-move/framework/aptos-framework/doc/function_info.md b/aptos-move/framework/aptos-framework/doc/function_info.md index 65840ecd59f8b..d47ac5f098c11 100644 --- a/aptos-move/framework/aptos-framework/doc/function_info.md +++ b/aptos-move/framework/aptos-framework/doc/function_info.md @@ -147,7 +147,7 @@ Creates a new function info from names. -
public(friend) fun new_function_info_from_address(module_address: address, module_name: string::String, function_name: string::String): function_info::FunctionInfo
+public fun new_function_info_from_address(module_address: address, module_name: string::String, function_name: string::String): function_info::FunctionInfo
@@ -156,7 +156,7 @@ Creates a new function info from names.
Implementation
-public(friend) fun new_function_info_from_address(
+public fun new_function_info_from_address(
module_address: address,
module_name: String,
function_name: String,
@@ -363,7 +363,7 @@ if such module isn't accessed previously in the transaction.
### Function `new_function_info_from_address`
-public(friend) fun new_function_info_from_address(module_address: address, module_name: string::String, function_name: string::String): function_info::FunctionInfo
+public fun new_function_info_from_address(module_address: address, module_name: string::String, function_name: string::String): function_info::FunctionInfo
diff --git a/aptos-move/framework/aptos-framework/sources/function_info.move b/aptos-move/framework/aptos-framework/sources/function_info.move
index c7f78c11d081c..112a1c33b5903 100644
--- a/aptos-move/framework/aptos-framework/sources/function_info.move
+++ b/aptos-move/framework/aptos-framework/sources/function_info.move
@@ -35,7 +35,7 @@ module aptos_framework::function_info {
)
}
- public(friend) fun new_function_info_from_address(
+ public fun new_function_info_from_address(
module_address: address,
module_name: String,
function_name: String,