Skip to content

Commit

Permalink
Remove PolySignerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
devfans committed Sep 23, 2021
1 parent db80454 commit 17da606
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wallet/poly.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ import (
sdk "github.com/polynetwork/poly-go-sdk"
)

type PolySignerConfig struct {
Path string
Password string
}

func NewPolySigner(config *PolySignerConfig) (signer *sdk.Account, err error) {
func NewPolySigner(config *Config) (signer *sdk.Account, err error) {
if config == nil {
return nil, fmt.Errorf("Missing poly wallet config")
}
Expand Down

0 comments on commit 17da606

Please sign in to comment.