diff --git a/src/interpreter/builtins/misc.rs b/src/interpreter/builtins/misc.rs index d79640f..2f862ff 100644 --- a/src/interpreter/builtins/misc.rs +++ b/src/interpreter/builtins/misc.rs @@ -16,7 +16,7 @@ fn keccak256(_env: &Env, args: &[Value]) -> Result { Ok(Value::FixBytes(alloy::primitives::keccak256(data), 32)) } -fn get_type<'a>(_env: &Env, args: &[Value]) -> Result { +fn get_type(_env: &Env, args: &[Value]) -> Result { args.first() .map(|v| Value::TypeObject(v.get_type())) .ok_or(anyhow!("get_type function expects one argument"))