diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-06-19 19:48:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-19 19:48:10 +0800 |
commit | f1986f86f2229ea5ff587c65c9229a65f40bf591 (patch) | |
tree | ebc1fa66487ad80b729bc9ecc09ff000e7f4c4ba /signer | |
parent | 28aca90716381d4a9110545432d128879c0a55b6 (diff) | |
download | go-tangerine-f1986f86f2229ea5ff587c65c9229a65f40bf591.tar.gz go-tangerine-f1986f86f2229ea5ff587c65c9229a65f40bf591.tar.zst go-tangerine-f1986f86f2229ea5ff587c65c9229a65f40bf591.zip |
signer: remove useless errorWrapper (#17003)
Diffstat (limited to 'signer')
-rw-r--r-- | signer/core/api.go | 9 |
1 files changed, 0 insertions, 9 deletions
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. |