Cleanup DrandBootstrap

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2020-07-23 18:45:08 +02:00
parent ff5ff4d294
commit 7ae69c70fb
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ func BuiltinBootstrap() (dtypes.BootstrapPeers, error) {
return build.BuiltinBootstrap()
}
func DrandBootstrap() (dtypes.DrandBootstrap, error) {
return build.DrandBootstrap()
func DrandBootstrap(d dtypes.DrandConfig) (dtypes.DrandBootstrap, error) {
return addrutil.ParseAddresses(context.TODO(), d.Relays)
}
func SetupJournal(lr repo.LockedRepo) error {