diff options
author | Janos Guljas <janos@resenje.org> | 2018-09-25 22:57:31 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2018-09-25 22:57:31 +0800 |
commit | 24349144b6c0642755569268bab56b9033743212 (patch) | |
tree | 9d9d2b6659fd8a56512dfc807aafe4b733165ae1 /swarm/storage/mru | |
parent | 7d56602391e155e2ce9ba7c261300a1804ab9972 (diff) | |
parent | d3441ebb563439bac0837d70591f92e2c6080303 (diff) | |
download | dexon-24349144b6c0642755569268bab56b9033743212.tar dexon-24349144b6c0642755569268bab56b9033743212.tar.gz dexon-24349144b6c0642755569268bab56b9033743212.tar.bz2 dexon-24349144b6c0642755569268bab56b9033743212.tar.lz dexon-24349144b6c0642755569268bab56b9033743212.tar.xz dexon-24349144b6c0642755569268bab56b9033743212.tar.zst dexon-24349144b6c0642755569268bab56b9033743212.zip |
Merge branch 'master' into max-stream-peer-servers
Diffstat (limited to 'swarm/storage/mru')
-rw-r--r-- | swarm/storage/mru/testutil.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/swarm/storage/mru/testutil.go b/swarm/storage/mru/testutil.go index a30baaa1d..936132d40 100644 --- a/swarm/storage/mru/testutil.go +++ b/swarm/storage/mru/testutil.go @@ -22,8 +22,7 @@ import ( "path/filepath" "sync" - "github.com/ethereum/go-ethereum/p2p/discover" - + "github.com/ethereum/go-ethereum/p2p/enode" "github.com/ethereum/go-ethereum/swarm/storage" ) @@ -43,7 +42,7 @@ type mockNetFetcher struct{} func (m *mockNetFetcher) Request(ctx context.Context) { } -func (m *mockNetFetcher) Offer(ctx context.Context, source *discover.NodeID) { +func (m *mockNetFetcher) Offer(ctx context.Context, source *enode.ID) { } func newFakeNetFetcher(context.Context, storage.Address, *sync.Map) storage.NetFetcher { |