Cleanup DrandBootstrap
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
ff5ff4d294
commit
7ae69c70fb
@ -38,7 +38,3 @@ func BuiltinBootstrap() ([]peer.AddrInfo, error) {
|
|||||||
})
|
})
|
||||||
return out, err
|
return out, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func DrandBootstrap() ([]peer.AddrInfo, error) {
|
|
||||||
return addrutil.ParseAddresses(context.TODO(), DrandConfig().Relays)
|
|
||||||
}
|
|
||||||
|
@ -92,8 +92,8 @@ func BuiltinBootstrap() (dtypes.BootstrapPeers, error) {
|
|||||||
return build.BuiltinBootstrap()
|
return build.BuiltinBootstrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
func DrandBootstrap() (dtypes.DrandBootstrap, error) {
|
func DrandBootstrap(d dtypes.DrandConfig) (dtypes.DrandBootstrap, error) {
|
||||||
return build.DrandBootstrap()
|
return addrutil.ParseAddresses(context.TODO(), d.Relays)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetupJournal(lr repo.LockedRepo) error {
|
func SetupJournal(lr repo.LockedRepo) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user