mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 05:44:40 +00:00
test_precompiles: fix enum case
This fixes compilation with Nim-1.4.2.
This commit is contained in:
parent
de12fb3c94
commit
5e17bd5e16
@ -65,7 +65,7 @@ template doTest(fixture: JsonNode, fork: Fork, address: PrecompileAddresses): un
|
||||
proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
|
||||
let
|
||||
label = fixtures["func"].getStr
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr)
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr.toLowerAscii)
|
||||
data = fixtures["data"]
|
||||
|
||||
case toLowerAscii(label)
|
||||
|
Loading…
x
Reference in New Issue
Block a user