avoid segfault in Nimbus with -d:release (#19)

This commit is contained in:
Ștefan Talpalaru 2019-03-13 02:37:36 +01:00 committed by Jacek Sieka
parent 4329cc1cb6
commit 4ac8812707
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ proc rlpHash*[T](v: T): Hash256 =
func blockHash*(h: BlockHeader): KeccakHash {.inline.} = rlpHash(h)
proc notImplemented =
assert false, "Method not impelemented"
doAssert false, "Method not implemented"
template hasData*(b: Blob): bool = b.len > 0
template hasData*(r: EthResourceRefs): bool = r != nil