Improve UInt256 shortLog.

This commit is contained in:
cheatfate 2024-03-06 04:33:09 +02:00
parent ba606292ab
commit e9804813a1
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95

View File

@ -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):