From 8bb6fdd3bfd472e7fb3c59a34e69cd2158bbf04a Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Mon, 12 Nov 2018 23:54:29 +0200 Subject: [PATCH] fix a wrong rebase --- tests/ethhexstrings.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ethhexstrings.nim b/tests/ethhexstrings.nim index 9fa859a..4ad2dfa 100644 --- a/tests/ethhexstrings.nim +++ b/tests/ethhexstrings.nim @@ -16,7 +16,7 @@ proc encodeQuantity*(value: SomeUnsignedInt): string = result = "0x" & hValue func hasHexHeader*(value: string): bool = - if strVal != "" and strVal[0] == '0' and strVal[1] in {'x', 'X'} and strVal.len > 2: true + if value != "" and value[0] == '0' and value[1] in {'x', 'X'} and value.len > 2: true else: false template hasHexHeader*(value: HexDataStr|HexQuantityStr): bool =