From 56600e911b540c0c6ad7015bac4e0fab3f70e2e1 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Fri, 24 Nov 2023 18:17:57 +0330 Subject: [PATCH] fix VMError.Unwrap --- core/vm/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/errors.go b/core/vm/errors.go index f6e4b6acd0..9f6605f030 100644 --- a/core/vm/errors.go +++ b/core/vm/errors.go @@ -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 {