mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
don't add comma's in logfmt formatted big.Int and uint256.Int
This commit is contained in:
parent
7045f6ed72
commit
dfea5f3160
1 changed files with 2 additions and 2 deletions
|
|
@ -277,13 +277,13 @@ func builtinReplace(_ []string, attr slog.Attr) slog.Attr {
|
|||
if v == nil {
|
||||
attr.Value = slog.AnyValue("<nil>")
|
||||
} else {
|
||||
attr.Value = slog.AnyValue(formatLogfmtBigInt(v))
|
||||
attr.Value = slog.AnyValue(v.String())
|
||||
}
|
||||
case *uint256.Int:
|
||||
if v == nil {
|
||||
attr.Value = slog.AnyValue("<nil>")
|
||||
} else {
|
||||
attr.Value = slog.AnyValue(formatLogfmtUint256(v))
|
||||
attr.Value = slog.AnyValue(v.ToBig().String())
|
||||
}
|
||||
}
|
||||
return attr
|
||||
|
|
|
|||
Loading…
Reference in a new issue