From 22742a9ba0b1d3c543036c6f3d36081da966e92f Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 28 Oct 2020 18:53:11 +0100 Subject: [PATCH] bootstrap: don't return early when one drand resolution fails Signed-off-by: Jakub Sztandera --- node/modules/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/core.go b/node/modules/core.go index 823b0131ed6..259c1ba3a30 100644 --- a/node/modules/core.go +++ b/node/modules/core.go @@ -101,7 +101,7 @@ func DrandBootstrap(ds dtypes.DrandSchedule) (dtypes.DrandBootstrap, error) { addrs, err := addrutil.ParseAddresses(context.TODO(), d.Config.Relays) if err != nil { log.Errorf("reoslving drand relays addresses: %+v", err) - return res, nil + continue } res = append(res, addrs...) }