Skip to content

Commit 4fc8cee

Browse files
fix: issue with rpc flags
1 parent 7f5b4cf commit 4fc8cee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/signer/signer.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424

2525
kms "cloud.google.com/go/kms/apiv1"
2626
"cloud.google.com/go/kms/apiv1/kmspb"
27-
"github.com/0xPolygon/polygon-cli/cmd/flag_loader"
2827
"github.com/0xPolygon/polygon-cli/gethkeystore"
2928
accounts2 "github.com/ethereum/go-ethereum/accounts"
3029
"github.com/ethereum/go-ethereum/accounts/keystore"
@@ -79,10 +78,7 @@ var SignerCmd = &cobra.Command{
7978
Use: "signer",
8079
Short: "Utilities for security signing transactions",
8180
Long: signerUsage,
82-
PersistentPreRun: func(cmd *cobra.Command, args []string) {
83-
inputSignerOpts.privateKey = flag_loader.GetRpcUrlFlagValue(cmd)
84-
},
85-
Args: cobra.NoArgs,
81+
Args: cobra.NoArgs,
8682
}
8783

8884
var SignCmd = &cobra.Command{

0 commit comments

Comments
 (0)