1
0
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:
Jeromy
2014-11-09 23:45:16 -08:00
committed by Juan Batiz-Benet
parent e290b54d9e
commit 33985c530e
9 changed files with 231 additions and 31 deletions

View File

@ -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)