diff options
Diffstat (limited to 'core/vm')
-rw-r--r-- | core/vm/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/errors.go b/core/vm/errors.go index 75b9c0f10..209b64c7d 100644 --- a/core/vm/errors.go +++ b/core/vm/errors.go @@ -22,7 +22,7 @@ func (self StackError) Error() string { return fmt.Sprintf("stack error! require %v, have %v", self.req, self.has) } -func IsStack(err error) bool { +func IsStackErr(err error) bool { _, ok := err.(StackError) return ok } |