diff --git a/chain/vm/invoker.go b/chain/vm/invoker.go index eaac395ea..5b299cfef 100644 --- a/chain/vm/invoker.go +++ b/chain/vm/invoker.go @@ -116,7 +116,7 @@ func (*Invoker) transform(instance Invokee) (nativeCode, error) { return nil, newErr("first arguemnt should be vmr.Runtime") } if t.In(1).Kind() != reflect.Ptr { - return nil, newErr("second argument should be Runtime") + return nil, newErr("second argument should be of kind reflect.Ptr") } if t.NumOut() != 1 {