mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 09:52:20 +08:00
switch DHT entries over to be records, test currently fail
This commit is contained in:
@ -46,7 +46,7 @@ func (r *routingResolver) Resolve(name string) (string, error) {
|
||||
|
||||
// use the routing system to get the name.
|
||||
// /ipns/<name>
|
||||
h := u.Hash([]byte("/ipns/" + name))
|
||||
h := []byte("/ipns/" + name)
|
||||
|
||||
ipnsKey := u.Key(h)
|
||||
val, err := r.routing.GetValue(ctx, ipnsKey)
|
||||
|
Reference in New Issue
Block a user