aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/bmt/bmt_r.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/bmt/bmt_r.go')
-rw-r--r--swarm/bmt/bmt_r.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/swarm/bmt/bmt_r.go b/swarm/bmt/bmt_r.go
index c61d2dc73..0cb6c146f 100644
--- a/swarm/bmt/bmt_r.go
+++ b/swarm/bmt/bmt_r.go
@@ -80,6 +80,5 @@ func (rh *RefHasher) hash(data []byte, length int) []byte {
}
rh.hasher.Reset()
rh.hasher.Write(section)
- s := rh.hasher.Sum(nil)
- return s
+ return rh.hasher.Sum(nil)
}