signer: remove useless errorWrapper

This commit is contained in:
Delweng Zheng 2018-06-16 11:22:05 +08:00
parent 574378edb5
commit 8d676eb597

View file

@ -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.