fix VMError.Unwrap

This commit is contained in:
Sina Mahmoodi 2023-11-24 18:17:57 +03:30
parent 379b8d3423
commit 56600e911b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {