Skip to content

Commit

Permalink
signer: remove useless errorWrapper (ethereum#17003)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa authored and kielbarry committed Jul 9, 2018
1 parent b9795f1 commit 1b0b282
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions signer/core/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1b0b282

Please sign in to comment.