diff options
author | Emil <mursalimovemeel@gmail.com> | 2018-09-15 04:07:13 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-09-15 04:07:13 +0800 |
commit | 86a03f97d30c11a5321fa2f0fd37cbc4c7f63a32 (patch) | |
tree | 92ee61a4d5a2c750b6abc257f30b040485e29842 /swarm/storage/types.go | |
parent | 7bb95a9a64c9d26bef4f15fdd9301bb0b5cdb668 (diff) | |
download | go-tangerine-86a03f97d30c11a5321fa2f0fd37cbc4c7f63a32.tar.gz go-tangerine-86a03f97d30c11a5321fa2f0fd37cbc4c7f63a32.tar.zst go-tangerine-86a03f97d30c11a5321fa2f0fd37cbc4c7f63a32.zip |
all: simplify s[:] to s where s is a slice (#17673)
Diffstat (limited to 'swarm/storage/types.go')
-rw-r--r-- | swarm/storage/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/types.go b/swarm/storage/types.go index bc2af2cd7..8c70f4584 100644 --- a/swarm/storage/types.go +++ b/swarm/storage/types.go @@ -136,7 +136,7 @@ func (a Address) Log() string { } func (a Address) String() string { - return fmt.Sprintf("%064x", []byte(a)[:]) + return fmt.Sprintf("%064x", []byte(a)) } func (a Address) MarshalJSON() (out []byte, err error) { |