mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Improve UInt256 shortLog.
This commit is contained in:
parent
ba606292ab
commit
e9804813a1
@ -34,7 +34,7 @@ type
|
||||
data*: ForkedBlindedBeaconBlock
|
||||
|
||||
func shortLog(v: Opt[UInt256]): auto =
|
||||
if v.isNone(): "<not available>" else: toString(v.get)
|
||||
if v.isNone(): "<not available>" else: toString(v.get, 10)
|
||||
|
||||
func shortLog(v: ForkedMaybeBlindedBeaconBlock): auto =
|
||||
withForkyMaybeBlindedBlck(v):
|
||||
|
Loading…
x
Reference in New Issue
Block a user