mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-23 18:49:57 +00:00
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…
x
Reference in New Issue
Block a user