mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 09:51:36 +00:00
eth/tracers/logger: fix gofmt formatting in formatMemoryWord
This commit is contained in:
parent
c3c282827b
commit
957e1ed413
1 changed files with 3 additions and 3 deletions
|
|
@ -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[:])
|
||||
|
|
|
|||
Loading…
Reference in a new issue