diff options
author | Balint Gabor <balint.g@gmail.com> | 2018-09-25 23:35:54 +0800 |
---|---|---|
committer | Janos Guljas <janos@resenje.org> | 2018-09-26 17:34:40 +0800 |
commit | 3f7acbbeb929bc3a2a3073bae15977ec69761bab (patch) | |
tree | a1d371d0a8d043e51dff796ff04d0eb84599fa80 /swarm/storage/mru/testutil.go | |
parent | d3441ebb563439bac0837d70591f92e2c6080303 (diff) | |
download | go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar.gz go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar.bz2 go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar.lz go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar.xz go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.tar.zst go-tangerine-3f7acbbeb929bc3a2a3073bae15977ec69761bab.zip |
swarm: prevent forever running retrieve request loops
Diffstat (limited to 'swarm/storage/mru/testutil.go')
-rw-r--r-- | swarm/storage/mru/testutil.go | 2 |
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) { } |