mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
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)
|
sum := hasher.Sum(nil)
|
||||||
hasher.Reset()
|
hasher.Reset()
|
||||||
hasher.Write(sum)
|
hasher.Write(sum)
|
||||||
sum = hasher.Sum(nil)
|
return hasher.Sum(nil)
|
||||||
return sum
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue