forked from cerc-io/plugeth
Removed Reset
This commit is contained in:
parent
c95a27e394
commit
f1d6f1bd17
@ -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 New Issue
Block a user