Skip to content

Commit 65a9ba8

Browse files
committedOct 24, 2024··
fix: typestring hex
1 parent 992df26 commit 65a9ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎contracts/sui/intent_v1/sources/types/utils.move

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module intents_v1::utils {
4848
}
4949

5050
public fun get_type_string<T>():String{
51-
string::from_ascii(type_name::get<T>().into_string())
51+
to_hex_string(string::from_ascii(type_name::get<T>().into_string()))
5252
}
5353

5454
public fun to_hex_string(str:String):String{

0 commit comments

Comments
 (0)
Please sign in to comment.