From 5b3d338109a7093b719641fade697f23200cce8e Mon Sep 17 00:00:00 2001 From: haotian Date: Wed, 15 Nov 2023 17:27:02 +0800 Subject: [PATCH] crypto: typo --- crypto/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/crypto.go b/crypto/crypto.go index 693e6b7b14..3776c590a3 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -110,7 +110,7 @@ func CreateAddress(b common.Address, nonce uint64) common.Address { } // CreateAddress2 creates an ethereum address given the address bytes, a salt -// and contract code hash. +// and inital contract code hash. func CreateAddress2(b common.Address, salt [32]byte, inithash []byte) common.Address { return common.BytesToAddress(Keccak256([]byte{0xff}, b.Bytes(), salt[:], inithash)[12:]) }