From f1986f86f2229ea5ff587c65c9229a65f40bf591 Mon Sep 17 00:00:00 2001 From: Wenbiao Zheng Date: Tue, 19 Jun 2018 19:48:10 +0800 Subject: signer: remove useless errorWrapper (#17003) --- signer/core/api.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'signer/core') diff --git a/signer/core/api.go b/signer/core/api.go index 1372646de..9a2a49ccc 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -189,15 +189,6 @@ type ( var ErrRequestDenied = errors.New("Request denied") -type errorWrapper struct { - msg string - err error -} - -func (ew errorWrapper) String() string { - return fmt.Sprintf("%s\n%s", ew.msg, ew.err) -} - // NewSignerAPI creates a new API that can be used for Account management. // ksLocation specifies the directory where to store the password protected private // key that is generated when a new Account is created. -- cgit