[#167] Use localhost instead of 127.0.0.1
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
d81587f304
commit
1821248596
1 changed files with 2 additions and 2 deletions
|
@ -325,11 +325,11 @@ func createDockerContainer(ctx context.Context, t *testing.T, image string) test
|
|||
|
||||
func getDefaultConfig() *viper.Viper {
|
||||
v := settings()
|
||||
v.SetDefault(cfgPeers+".0.address", "127.0.0.1:8080")
|
||||
v.SetDefault(cfgPeers+".0.address", "localhost:8080")
|
||||
v.SetDefault(cfgPeers+".0.weight", 1)
|
||||
v.SetDefault(cfgPeers+".0.priority", 1)
|
||||
|
||||
v.SetDefault(cfgRPCEndpoint, "http://127.0.0.1:30333")
|
||||
v.SetDefault(cfgRPCEndpoint, "http://localhost:30333")
|
||||
|
||||
return v
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue