Skip to content

Commit

Permalink
bootstrap: don't return early when one drand resolution fails
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sztandera <[email protected]>
  • Loading branch information
Jakub Sztandera committed Oct 30, 2020
1 parent 3b16fad commit 22742a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/modules/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}
Expand Down

0 comments on commit 22742a9

Please sign in to comment.