fix a wrong rebase

This commit is contained in:
Zahary Karadjov 2018-11-12 23:54:29 +02:00
parent 26953344c3
commit 8bb6fdd3bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 =