Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Jul 17, 2019
1 parent 3ec2f46 commit fda7869
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hdwallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,22 +358,22 @@ func (w *Wallet) Path(account accounts.Account) (string, error) {
}

// SignData is not implemented
func (w *Wallet) SignData(account Account, mimeType string, data []byte) ([]byte, error) {
func (w *Wallet) SignData(account accounts.Account, mimeType string, data []byte) ([]byte, error) {
return nil, errors.New("not implemented")
}

// SignDataWithPassphrase is not implemented
func (w *Wallet) SignDataWithPassphrase(account Account, passphrase, mimeType string, data []byte) ([]byte, error) {
func (w *Wallet) SignDataWithPassphrase(account accounts.Account, passphrase, mimeType string, data []byte) ([]byte, error) {
return nil, errors.New("not implemented")
}

// SignText is not implemented
func (w *Wallet) SignText(account Account, text []byte) ([]byte, error) {
func (w *Wallet) SignText(account accounts.Account, text []byte) ([]byte, error) {
return nil, errors.New("not implemented")
}

// SignTextWithPassphrase is not implemented
func (w *Wallet) SignTextWithPassphrase(account Account, passphrase string, hash []byte) ([]byte, error) {
func (w *Wallet) SignTextWithPassphrase(account accounts.Account, passphrase string, hash []byte) ([]byte, error) {
return nil, errors.New("not implemented")
}

Expand Down

0 comments on commit fda7869

Please sign in to comment.