aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/mru/testutil.go
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2018-09-27 13:08:58 +0800
committerGitHub <noreply@github.com>2018-09-27 13:08:58 +0800
commitc3cfdfacd00bf61c3f6ffaf7714b084f62de635c (patch)
treed5e0a020cd96879438b2db2744be4c8f8112432b /swarm/storage/mru/testutil.go
parent4b6824e07b1b7c5a2907143b4d122283eadb2474 (diff)
parent3f7acbbeb929bc3a2a3073bae15977ec69761bab (diff)
downloaddexon-c3cfdfacd00bf61c3f6ffaf7714b084f62de635c.tar.gz
dexon-c3cfdfacd00bf61c3f6ffaf7714b084f62de635c.tar.zst
dexon-c3cfdfacd00bf61c3f6ffaf7714b084f62de635c.zip
Merge pull request #17757 from ethersphere/retrieve-request-ttl-pr
swarm: prevent forever running retrieve request loops
Diffstat (limited to 'swarm/storage/mru/testutil.go')
-rw-r--r--swarm/storage/mru/testutil.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/mru/testutil.go b/swarm/storage/mru/testutil.go
index 936132d40..7a5a9e4d9 100644
--- a/swarm/storage/mru/testutil.go
+++ b/swarm/storage/mru/testutil.go
@@ -40,7 +40,7 @@ func (t *TestHandler) Close() {
type mockNetFetcher struct{}
-func (m *mockNetFetcher) Request(ctx context.Context) {
+func (m *mockNetFetcher) Request(ctx context.Context, hopCount uint8) {
}
func (m *mockNetFetcher) Offer(ctx context.Context, source *enode.ID) {
}