From 4738a50a702eadf69041ad0cea1a871ea9d0522b Mon Sep 17 00:00:00 2001 From: ibrizsabin Date: Tue, 7 May 2024 10:31:57 +0545 Subject: [PATCH] fix: get id cap --- contracts/sui/xcall/sources/states/xcall_state.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/sui/xcall/sources/states/xcall_state.move b/contracts/sui/xcall/sources/states/xcall_state.move index 7331687fa..51921f474 100644 --- a/contracts/sui/xcall/sources/states/xcall_state.move +++ b/contracts/sui/xcall/sources/states/xcall_state.move @@ -22,7 +22,7 @@ module xcall::xcall_state { id:UID, xcall_id:ID, } - public (package) fun get_id_cap_id(cap:&IDCap):ID{ + public fun get_id_cap_id(cap:&IDCap):ID{ cap.id.to_inner() } public struct PackageCap has store {