core/vm: fix typo in cryptographic hash function name (#17285)

This commit is contained in:
Ha ĐANG 2018-07-31 17:27:51 +07:00 committed by Péter Szilágyi
parent 5d7e18539e
commit 702b8a7aec

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.