From 17da6069548a1d575846ba1addbc514910793500 Mon Sep 17 00:00:00 2001 From: Stefan Liu Date: Thu, 23 Sep 2021 11:17:07 +0800 Subject: [PATCH] Remove PolySignerConfig --- wallet/poly.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wallet/poly.go b/wallet/poly.go index d62ef9f..d7824ad 100644 --- a/wallet/poly.go +++ b/wallet/poly.go @@ -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") }