From 6f87a30d33fa71264991e5763687b88d7089a572 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Fri, 7 Jun 2024 13:11:08 +0530 Subject: [PATCH] remove commented code --- tests/consensus_spec/test_fixture_networking.nim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/consensus_spec/test_fixture_networking.nim b/tests/consensus_spec/test_fixture_networking.nim index af6b9675a..4a56df2ef 100644 --- a/tests/consensus_spec/test_fixture_networking.nim +++ b/tests/consensus_spec/test_fixture_networking.nim @@ -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