diff --git a/log/handler.go b/log/handler.go index 97f3224511..1f28f8c264 100644 --- a/log/handler.go +++ b/log/handler.go @@ -188,13 +188,13 @@ func builtinReplace(_ []string, attr slog.Attr) slog.Attr { attr = slog.Any(attr.Key, v.Format(timeFormat)) case *big.Int: if v == nil { - attr.Value = slog.StringValue("") + attr.Value = slog.StringValue("nil") } else { attr.Value = slog.StringValue(v.String()) } case *uint256.Int: if v == nil { - attr.Value = slog.StringValue("") + attr.Value = slog.StringValue("nil") } else { attr.Value = slog.StringValue(v.Dec()) }