bootstrap: don't return early when one drand resolution fails

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-10-28 18:53:11 +01:00
parent 3b16faddad
commit 22742a9ba0
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -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...)
}