aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crypto.go')
-rw-r--r--crypto/crypto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go
index 1f8dfcf32..ec2b41042 100644
--- a/crypto/crypto.go
+++ b/crypto/crypto.go
@@ -42,7 +42,7 @@ func Sha3Hash(data ...[]byte) (h common.Hash) {
for _, b := range data {
d.Write(b)
}
- d.Sum(h[:])
+ d.Sum(h[:0])
return h
}