License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2019-07-01 23:11:34 +02:00
parent 088c1e7860
commit 5736ac1d9d
11 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -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{},
}
}
-1
View File
@@ -22,4 +22,3 @@ func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context {
})
return ctx
}
+1 -1
View File
@@ -60,4 +60,4 @@ func PNetChecker(repo repo.Repo, ph host.Host, lc fx.Lifecycle) error {
})
return nil
}
*/
*/
+1 -1
View File
@@ -19,4 +19,4 @@ func RandomPeerID() (peer.ID, error) {
return "", err
}
return peer.ID(hash), nil
}
}