Removed extra local variable assignment from DoubleSha256.
This commit is contained in:
parent
5c8fddf4b4
commit
fa1d343430
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue