mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 16:03:45 +00:00
fix VMError.Unwrap
This commit is contained in:
parent
379b8d3423
commit
56600e911b
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ func (e *VMError) Error() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *VMError) Unwrap() error {
|
func (e *VMError) Unwrap() error {
|
||||||
return errors.Unwrap(e.error)
|
return e.error
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *VMError) ErrorCode() int {
|
func (e *VMError) ErrorCode() int {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue