go fmt
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@@ -8,6 +8,6 @@ import (
|
||||
// RecordValidator provides namesys compatible routing record validator
|
||||
func RecordValidator(ps peerstore.Peerstore) record.Validator {
|
||||
return record.NamespacedValidator{
|
||||
"pk": record.PublicKeyValidator{},
|
||||
"pk": record.PublicKeyValidator{},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,3 @@ func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context {
|
||||
})
|
||||
return ctx
|
||||
}
|
||||
|
||||
|
||||
@@ -60,4 +60,4 @@ func PNetChecker(repo repo.Repo, ph host.Host, lc fx.Lifecycle) error {
|
||||
})
|
||||
return nil
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -19,4 +19,4 @@ func RandomPeerID() (peer.ID, error) {
|
||||
return "", err
|
||||
}
|
||||
return peer.ID(hash), nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user