fix header.extraData printer in debug.nim
This commit is contained in:
parent
89023782f3
commit
effc874d47
|
@ -15,6 +15,9 @@ proc `$`(bloom: BloomFilter): string =
|
|||
proc `$`(nonce: BlockNonce): string =
|
||||
nonce.toHex
|
||||
|
||||
proc `$`(data: Blob): string =
|
||||
data.toHex
|
||||
|
||||
proc debug*(h: BlockHeader): string =
|
||||
result.add "parentHash : " & $h.parentHash & "\n"
|
||||
result.add "ommersHash : " & $h.ommersHash & "\n"
|
||||
|
|
Loading…
Reference in New Issue