Merge pull request #4626 from filecoin-project/fix/drand-peerid-loop

bootstrap: don't return early when one drand resolution fails
This commit is contained in:
Łukasz Magiera 2020-10-30 23:53:11 +01:00 committed by GitHub
commit 5a7863d21a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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