From 5cda86bb93b7ef2ede7358ee9c6dc56868a333c8 Mon Sep 17 00:00:00 2001 From: james-prysm <90280386+james-prysm@users.noreply.github.com> Date: Wed, 13 Jul 2022 12:42:08 -0400 Subject: [PATCH] Web3Signer: log for ignored wallet password flag (#11018) * intial commit * changing log message Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> --- validator/node/node.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validator/node/node.go b/validator/node/node.go index 91cd54d55..7cd4202a9 100644 --- a/validator/node/node.go +++ b/validator/node/node.go @@ -453,6 +453,9 @@ func web3SignerConfig(cliCtx *cli.Context) (*remoteweb3signer.SetupConfig, error BaseEndpoint: u.String(), GenesisValidatorsRoot: nil, } + if cliCtx.IsSet(flags.WalletPasswordFileFlag.Name) { + log.Warnf("%s was provided while using web3signer and will be ignored", flags.WalletPasswordFileFlag.Name) + } if cliCtx.IsSet(flags.Web3SignerPublicValidatorKeysFlag.Name) { publicKeysStr := cliCtx.String(flags.Web3SignerPublicValidatorKeysFlag.Name) pURL, err := url.ParseRequestURI(publicKeysStr)