Add TODO note
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
6e4889d340
commit
b27ee8241a
@ -94,6 +94,7 @@ func BuiltinBootstrap() (dtypes.BootstrapPeers, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func DrandBootstrap(d dtypes.DrandConfig) (dtypes.DrandBootstrap, error) {
|
func DrandBootstrap(d dtypes.DrandConfig) (dtypes.DrandBootstrap, error) {
|
||||||
|
// TODO: retry resolving, don't fail if at least one resolve succeeds
|
||||||
addrs, err := addrutil.ParseAddresses(context.TODO(), d.Relays)
|
addrs, err := addrutil.ParseAddresses(context.TODO(), d.Relays)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("reoslving drand relays addresses: %+v", err)
|
log.Errorf("reoslving drand relays addresses: %+v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user