Add TODO note

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-08-27 19:00:42 +02:00
parent 6e4889d340
commit b27ee8241a
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -94,6 +94,7 @@ func BuiltinBootstrap() (dtypes.BootstrapPeers, 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)
if err != nil {
log.Errorf("reoslving drand relays addresses: %+v", err)