Skip to content

Commit e63293f

Browse files
Update src/Neo.Extensions/StringExtensions.cs
Co-authored-by: Christopher Schuchardt <[email protected]>
1 parent bc1506f commit e63293f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo.Extensions/StringExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public static bool IsHex(this string value)
237237
public static byte[] HexToBytes(this string? value)
238238
{
239239
if (value == null)
240-
return Array.Empty<byte>();
240+
return [];
241241

242242
try
243243
{

0 commit comments

Comments
 (0)