Commit f1986f86 authored by Wenbiao Zheng's avatar Wenbiao Zheng Committed by Péter Szilágyi

signer: remove useless errorWrapper (#17003)

parent 28aca907
...@@ -189,15 +189,6 @@ type ( ...@@ -189,15 +189,6 @@ type (
var ErrRequestDenied = errors.New("Request denied") 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. // NewSignerAPI creates a new API that can be used for Account management.
// ksLocation specifies the directory where to store the password protected private // ksLocation specifies the directory where to store the password protected private
// key that is generated when a new Account is created. // key that is generated when a new Account is created.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment