Skip to content

Commit

Permalink
fix VMError.Unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
dhyaniarun1993 committed Dec 8, 2023
1 parent 122ccec commit 97c69bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (e *VMError) Error() string {
}

func (e *VMError) Unwrap() error {
return errors.Unwrap(e.error)
return e.error
}

func (e *VMError) ErrorCode() int {
Expand Down

0 comments on commit 97c69bc

Please sign in to comment.