mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 16:08:26 -05:00
bugfix : Removed the default value of the bootnode flag to prevent it from being overridden during testnet usage (#14357)
* Removed the default value of the bootnode flag to prevent it from being overridden during testnet usage * bugfix for checking stringslice flag to use isSet
This commit is contained in:
@@ -560,8 +560,8 @@ func Web3SignerConfig(cliCtx *cli.Context) (*remoteweb3signer.SetupConfig, error
|
||||
if cliCtx.IsSet(flags.WalletPasswordFileFlag.Name) {
|
||||
log.Warnf("%s was provided while using web3signer and will be ignored", flags.WalletPasswordFileFlag.Name)
|
||||
}
|
||||
|
||||
if publicKeysSlice := cliCtx.StringSlice(flags.Web3SignerPublicValidatorKeysFlag.Name); len(publicKeysSlice) > 0 {
|
||||
if cliCtx.IsSet(flags.Web3SignerPublicValidatorKeysFlag.Name) {
|
||||
publicKeysSlice := cliCtx.StringSlice(flags.Web3SignerPublicValidatorKeysFlag.Name)
|
||||
if len(publicKeysSlice) == 1 {
|
||||
pURL, err := url.ParseRequestURI(publicKeysSlice[0])
|
||||
if err == nil && pURL.Scheme != "" && pURL.Host != "" {
|
||||
|
||||
Reference in New Issue
Block a user