fix VMError.Unwrap
This commit is contained in:
parent
379b8d3423
commit
56600e911b
|
@ -111,7 +111,7 @@ func (e *VMError) Error() string {
|
|||
}
|
||||
|
||||
func (e *VMError) Unwrap() error {
|
||||
return errors.Unwrap(e.error)
|
||||
return e.error
|
||||
}
|
||||
|
||||
func (e *VMError) ErrorCode() int {
|
||||
|
|
Loading…
Reference in New Issue