We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e5c5e commit ef6cd73Copy full SHA for ef6cd73
Assets/Thirdweb/Core/Scripts/Utils.cs
@@ -32,8 +32,13 @@ public static string[] ToJsonStringArray(params object[] args)
32
{
33
continue;
34
}
35
+ // if bytes, make hex
36
+ if (args[i] is byte[])
37
+ {
38
+ stringArgs.Add(ByteArrayToHexString(args[i] as byte[]));
39
+ }
40
// if value type, convert to string otherwise serialize to json
- if (args[i].GetType().IsPrimitive || args[i] is string)
41
+ else if (args[i].GetType().IsPrimitive || args[i] is string)
42
43
stringArgs.Add(args[i].ToString());
44
0 commit comments