Removed extra local variable assignment from DoubleSha256.

This commit is contained in:
Jonathan Gillham 2013-10-14 23:55:18 +01:00
parent 5c8fddf4b4
commit fa1d343430

View file

@ -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)
}