This commit is contained in:
Ian Davis 2023-01-27 15:20:23 +00:00
parent 67805fd25a
commit eacf3f1830

View File

@ -252,7 +252,6 @@ func (e *EVM) InvokeContractByFuncNameExpectExit(ctx context.Context, fromAddr a
require.Equal(e.t, exit, wait.Receipt.ExitCode)
}
// function signatures are the first 4 bytes of the hash of the function name and types
func CalcFuncSignature(funcName string) []byte {
hasher := sha3.NewLegacyKeccak256()