mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-18 04:41: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 {
|
func formatMemoryWord(chunk []byte) string {
|
||||||
if len(chunk) == 32 {
|
if len(chunk) == 32 {
|
||||||
return hexutil.Encode(chunk)
|
return hexutil.Encode(chunk)
|
||||||
}
|
}
|
||||||
var word [32]byte
|
var word [32]byte
|
||||||
copy(word[:], chunk)
|
copy(word[:], chunk)
|
||||||
return hexutil.Encode(word[:])
|
return hexutil.Encode(word[:])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue