From 87d57b515544e4dd41d30b2190300c84cc322486 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 6 Apr 2019 08:23:07 -0700 Subject: [PATCH] relay: allow users to explicitly add relay addresses --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index e895eed9..3370f6e3 100644 --- a/config/config.go +++ b/config/config.go @@ -128,7 +128,7 @@ func (cfg *Config) NewNode(ctx context.Context) (host.Host, error) { // TODO: We shouldn't be doing this here. oldFactory := h.AddrsFactory h.AddrsFactory = func(addrs []ma.Multiaddr) []ma.Multiaddr { - return relay.Filter(oldFactory(addrs)) + return oldFactory(relay.Filter(addrs)) } }