diff --git a/common.go b/common.go index 21666892..1d2b37ac 100644 --- a/common.go +++ b/common.go @@ -176,6 +176,5 @@ func DoubleSha256(b []byte) []byte { sum := hasher.Sum(nil) hasher.Reset() hasher.Write(sum) - sum = hasher.Sum(nil) - return sum + return hasher.Sum(nil) }