fix header.extraData printer in debug.nim

This commit is contained in:
jangko 2022-03-23 21:05:57 +07:00
parent 89023782f3
commit effc874d47
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 3 additions and 0 deletions

View File

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