File tree 1 file changed +19
-19
lines changed
1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -93,24 +93,24 @@ func NewCommand() *cobra.Command {
93
93
}
94
94
95
95
var (
96
- avalancheGoBinPath string
97
- numNodes uint32
98
- pluginDir string
99
- globalNodeConfig string
100
- addNodeConfig string
101
- blockchainSpecsStr string
102
- customNodeConfigs string
103
- rootDataDir string
104
- chainConfigs string
105
- upgradeConfigs string
106
- subnetConfigs string
107
- reassignPortsIfUsed bool
108
- dynamicPorts bool
109
- networkID uint32
110
- force bool
111
- inPlace bool
112
- fuji bool
113
- walletPrivateKey string
96
+ avalancheGoBinPath string
97
+ numNodes uint32
98
+ pluginDir string
99
+ globalNodeConfig string
100
+ addNodeConfig string
101
+ blockchainSpecsStr string
102
+ customNodeConfigs string
103
+ rootDataDir string
104
+ chainConfigs string
105
+ upgradeConfigs string
106
+ subnetConfigs string
107
+ reassignPortsIfUsed bool
108
+ dynamicPorts bool
109
+ networkID uint32
110
+ force bool
111
+ inPlace bool
112
+ fuji bool
113
+ walletPrivateKey string
114
114
walletPrivateKeyPath string
115
115
)
116
116
@@ -309,7 +309,7 @@ func startFunc(*cobra.Command, []string) error {
309
309
client .WithNetworkID (networkID ),
310
310
}
311
311
312
- if walletPrivateKeyPath != "" && walletPrivateKey != "" {
312
+ if walletPrivateKeyPath != "" && walletPrivateKey != "" {
313
313
return fmt .Errorf ("only one of wallet-private-key and wallet-private-key-path can be provided" )
314
314
}
315
315
if walletPrivateKey != "" {
You can’t perform that action at this time.
0 commit comments