From 83d1aa8fa20e6c7168ab02f54d2a824fd9ce68c8 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Mon, 15 Jun 2020 11:52:15 -0500 Subject: [PATCH] Default BeaconRPCProvider for Validator Should Match Beacon Node's Host (#6268) * default bind to localhost for validator * Merge branch 'master' into validator-localhost --- validator/flags/flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validator/flags/flags.go b/validator/flags/flags.go index 00b660d46..8b217e385 100644 --- a/validator/flags/flags.go +++ b/validator/flags/flags.go @@ -18,7 +18,7 @@ var ( BeaconRPCProviderFlag = &cli.StringFlag{ Name: "beacon-rpc-provider", Usage: "Beacon node RPC provider endpoint", - Value: "localhost:4000", + Value: "127.0.0.1:4000", } // CertFlag defines a flag for the node's TLS certificate. CertFlag = &cli.StringFlag{ @@ -29,7 +29,7 @@ var ( SlasherRPCProviderFlag = &cli.StringFlag{ Name: "slasher-rpc-provider", Usage: "Slasher node RPC provider endpoint", - Value: "localhost:4002", + Value: "127.0.0.1:4002", } // SlasherCertFlag defines a flag for the slasher node's TLS certificate. SlasherCertFlag = &cli.StringFlag{