diff --git a/core/types/block.go b/core/types/block.go index 3026b1c5d..6a16ca535 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -123,8 +123,8 @@ func (h *Header) Logger(logger *zerolog.Logger) *zerolog.Logger { With(). Str("blockHash", h.Hash().Hex()). Uint32("blockShard", h.ShardID). - Str("blockEpoch", h.Epoch.String()). - Str("blockNumber", h.Number.String()). + Uint64("blockEpoch", h.Epoch.Uint64()). + Uint64("blockNumber", h.Number.Uint64()). Logger() return &nlogger }