eth/tracers/logger: fix gofmt formatting in formatMemoryWord

This commit is contained in:
Chase Wright 2026-03-27 13:21:10 -05:00
parent c3c282827b
commit 957e1ed413
No known key found for this signature in database
GPG key ID: 7EA41EDCB1BE04A7

View file

@ -157,9 +157,9 @@ type structLogLegacy struct {
}
func formatMemoryWord(chunk []byte) string {
if len(chunk) == 32 {
return hexutil.Encode(chunk)
}
if len(chunk) == 32 {
return hexutil.Encode(chunk)
}
var word [32]byte
copy(word[:], chunk)
return hexutil.Encode(word[:])