remove commented code

This commit is contained in:
Agnish Ghosh 2024-06-07 13:11:08 +05:30
parent c0ade0c005
commit 6f87a30d33
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 0 additions and 8 deletions

View File

@ -31,14 +31,6 @@ func toUInt64(s: SomeInteger): Opt[uint64] =
except ValueError:
Opt.none uint64
# func toUInt256(s: SomeInteger): Opt[UInt256] =
# if s < 0:
# return Opt.none UInt256
# try:
# Opt.some u256(s)
# except ValueError:
# Opt.none
func fromHex[N: static int](s: string): Opt[array[N, byte]] =
if s.len != 2*(N+1):
# 0x prefix