mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-07 15:38:37 +00:00
Removed Reset
This commit is contained in:
parent
c95a27e394
commit
f1d6f1bd17
1 changed files with 0 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ func Ripemd160(data []byte) []byte {
|
||||||
|
|
||||||
func Sha3Bin(data []byte) []byte {
|
func Sha3Bin(data []byte) []byte {
|
||||||
d := sha3.NewKeccak256()
|
d := sha3.NewKeccak256()
|
||||||
d.Reset()
|
|
||||||
d.Write(data)
|
d.Write(data)
|
||||||
|
|
||||||
return d.Sum(nil)
|
return d.Sum(nil)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue