Skip to content

Commit

Permalink
address small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prysm committed Mar 6, 2024
1 parent 42a785d commit 135f40b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion validator/rpc/handlers_keymanager.go
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/pkg/errors"
"github.com/prysmaticlabs/prysm/v5/api/server/structs"
"github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/eth/shared"
"github.com/prysmaticlabs/prysm/v5/cmd/validator/flags"
fieldparams "github.com/prysmaticlabs/prysm/v5/config/fieldparams"
"github.com/prysmaticlabs/prysm/v5/config/params"
"github.com/prysmaticlabs/prysm/v5/config/proposer"
Expand Down Expand Up @@ -479,7 +480,7 @@ func (s *Server) ImportRemoteKeys(w http.ResponseWriter, r *http.Request) {
}
}
if isUrlUsed {
log.Warnf("Setting the remote signer base url within the request is not supported. The remote signer url can only be set from the --validators-external-signer-url flag.")
log.Warnf("Setting the remote signer base url within the request is not supported. The remote signer url can only be set from the --%s flag.", flags.Web3SignerURLFlag.Name)
}

httputil.WriteJson(w, &RemoteKeysResponse{Data: adder.AddPublicKeys(remoteKeys)})
Expand Down

0 comments on commit 135f40b

Please sign in to comment.