aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorHa ĐANG <dvietha@gmail.com>2018-07-31 18:27:51 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-31 18:27:51 +0800
commit702b8a7aec97c7ef512335ee44c925bc91c6ae09 (patch)
tree9c1f4f8bc5b0e44162a99219de1818cdd282c16b /core
parent5d7e18539e32cb4f1aafab8e977e28a7cd34da9c (diff)
downloaddexon-702b8a7aec97c7ef512335ee44c925bc91c6ae09.tar.gz
dexon-702b8a7aec97c7ef512335ee44c925bc91c6ae09.tar.zst
dexon-702b8a7aec97c7ef512335ee44c925bc91c6ae09.zip
core/vm: fix typo in cryptographic hash function name (#17285)
Diffstat (limited to 'core')
-rw-r--r--core/vm/contracts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/contracts.go b/core/vm/contracts.go
index 237450ea9..20b741f8f 100644
--- a/core/vm/contracts.go
+++ b/core/vm/contracts.go
@@ -116,7 +116,7 @@ func (c *sha256hash) Run(input []byte) ([]byte, error) {
return h[:], nil
}
-// RIPMED160 implemented as a native contract.
+// RIPEMD160 implemented as a native contract.
type ripemd160hash struct{}
// RequiredGas returns the gas required to execute the pre-compiled contract.