From e9804813a10ba7ec232811b4ccc6ccdf9f37298d Mon Sep 17 00:00:00 2001 From: cheatfate Date: Wed, 6 Mar 2024 04:33:09 +0200 Subject: [PATCH] Improve UInt256 shortLog. --- beacon_chain/validator_client/block_service.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/validator_client/block_service.nim b/beacon_chain/validator_client/block_service.nim index 0ff5da3f9..35ccfcd30 100644 --- a/beacon_chain/validator_client/block_service.nim +++ b/beacon_chain/validator_client/block_service.nim @@ -34,7 +34,7 @@ type data*: ForkedBlindedBeaconBlock func shortLog(v: Opt[UInt256]): auto = - if v.isNone(): "" else: toString(v.get) + if v.isNone(): "" else: toString(v.get, 10) func shortLog(v: ForkedMaybeBlindedBeaconBlock): auto = withForkyMaybeBlindedBlck(v):