Skip to content

Commit

Permalink
fix: typestring hex
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrizsabin committed Oct 24, 2024
1 parent 992df26 commit 65a9ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/sui/intent_v1/sources/types/utils.move
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module intents_v1::utils {
}

public fun get_type_string<T>():String{
string::from_ascii(type_name::get<T>().into_string())
to_hex_string(string::from_ascii(type_name::get<T>().into_string()))
}

public fun to_hex_string(str:String):String{
Expand Down

0 comments on commit 65a9ba8

Please sign in to comment.