1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 23:42:20 +08:00

validator functions and ipns completion

This commit is contained in:
Jeromy
2014-11-10 15:48:49 -08:00
committed by Juan Batiz-Benet
parent cb23d5b2ae
commit 1cf7a1824a
4 changed files with 15 additions and 2 deletions

View File

@ -53,7 +53,7 @@ func (p *ipnsPublisher) Publish(k ci.PrivKey, value string) error {
// Store associated public key
timectx, _ := context.WithDeadline(ctx, time.Now().Add(time.Second*4))
err = p.routing.PutValue(timectx, u.Key(nameb), pkbytes)
err = p.routing.PutValue(timectx, u.Key("/pk/"+string(nameb)), pkbytes)
if err != nil {
return err
}