core/vm: fix typo in cryptographic hash function name

This commit is contained in:
hadv 2018-07-31 16:46:03 +07:00
parent d6efa69187
commit b109b3e590
No known key found for this signature in database
GPG key ID: EC2B318ACE3D164F

View file

@ -116,7 +116,7 @@ func (c *sha256hash) Run(input []byte) ([]byte, error) {
return h[:], nil return h[:], nil
} }
// RIPMED160 implemented as a native contract. // RIPEMD160 implemented as a native contract.
type ripemd160hash struct{} type ripemd160hash struct{}
// RequiredGas returns the gas required to execute the pre-compiled contract. // RequiredGas returns the gas required to execute the pre-compiled contract.