Commit 8bac9264 authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #37 from libp2p/deps/update-base32

update base32 package and fix tests
parents 98336d4f 9f89eb51
......@@ -52,7 +52,7 @@ type IpfsDHT struct {
routingTable *kb.RoutingTable // Array of routing tables for differently distanced nodes
providers *providers.ProviderManager
birth time.Time // When this peer started up
birth time.Time // When this peer started up
Validator record.Validator // record validator funcs
Selector record.Selector // record selection funcs
......
......@@ -15,10 +15,11 @@ import (
ds "github.com/ipfs/go-datastore"
dssync "github.com/ipfs/go-datastore/sync"
u "github.com/ipfs/go-ipfs-util"
netutil "github.com/libp2p/go-libp2p-netutil"
peer "github.com/libp2p/go-libp2p-peer"
pstore "github.com/libp2p/go-libp2p-peerstore"
record "github.com/libp2p/go-libp2p-record"
netutil "github.com/libp2p/go-libp2p/p2p/test/util"
bhost "github.com/libp2p/go-libp2p/p2p/host/basic"
ci "github.com/libp2p/go-testutil/ci"
travisci "github.com/libp2p/go-testutil/ci/travis"
ma "github.com/multiformats/go-multiaddr"
......@@ -40,7 +41,7 @@ func init() {
}
func setupDHT(ctx context.Context, t *testing.T, client bool) *IpfsDHT {
h := netutil.GenHostSwarm(t, ctx)
h := bhost.New(netutil.GenSwarmNetwork(t, ctx))
dss := dssync.MutexWrap(ds.NewMapDatastore())
var d *IpfsDHT
......
......@@ -66,9 +66,9 @@
},
{
"author": "whyrusleeping",
"hash": "Qmb1DA2A9LS2wR4FFweB4uEDomFsdmnw1VLawLE1yQzudj",
"hash": "QmZvZSVtvxak4dcTkhsQhqd1SQ6rg5UzaSTu62WfWKjj93",
"name": "base32",
"version": "0.0.0"
"version": "0.0.1"
},
{
"author": "whyrusleeping",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment