1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 14:34:24 +08:00

move dht record code into new package

This commit is contained in:
Jeromy
2015-01-17 02:50:10 +00:00
parent a5233faeae
commit c01452e5ea
6 changed files with 52 additions and 39 deletions

View File

@ -11,6 +11,7 @@ import (
peer "github.com/jbenet/go-ipfs/p2p/peer"
routing "github.com/jbenet/go-ipfs/routing"
pb "github.com/jbenet/go-ipfs/routing/dht/pb"
record "github.com/jbenet/go-ipfs/routing/record"
u "github.com/jbenet/go-ipfs/util"
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
@ -104,7 +105,7 @@ func TestGetFailures(t *testing.T) {
t.Fatal(err)
}
rec, err := MakePutRecord(sk, u.Key(str), []byte("blah"))
rec, err := record.MakePutRecord(sk, u.Key(str), []byte("blah"))
if err != nil {
t.Fatal(err)
}