diff options
author | Elad <theman@elad.im> | 2018-10-19 16:50:25 +0800 |
---|---|---|
committer | Viktor TrĂ³n <viktor.tron@gmail.com> | 2018-10-19 16:50:25 +0800 |
commit | aeb733623e79d9b8f03036ec1a4c0717185b527d (patch) | |
tree | 2c7d19e1f8513498ebb1de525bb48274e1f58dfb /swarm/network/stream/delivery_test.go | |
parent | 97fb08342d227bbd126516083b0ddaf74e6e8468 (diff) | |
download | dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.gz dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.bz2 dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.lz dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.xz dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.zst dexon-aeb733623e79d9b8f03036ec1a4c0717185b527d.zip |
swarm/network: disallow historical retrieval requests (#17936)
Diffstat (limited to 'swarm/network/stream/delivery_test.go')
-rw-r--r-- | swarm/network/stream/delivery_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/delivery_test.go b/swarm/network/stream/delivery_test.go index ec6148a0b..949645558 100644 --- a/swarm/network/stream/delivery_test.go +++ b/swarm/network/stream/delivery_test.go @@ -416,7 +416,7 @@ func testDeliveryFromNodes(t *testing.T, nodes, conns, chunkCount int, skipCheck return fmt.Errorf("No registry") } registry := item.(*Registry) - err = registry.Subscribe(sid, NewStream(swarmChunkServerStreamName, "", true), NewRange(0, 0), Top) + err = registry.Subscribe(sid, NewStream(swarmChunkServerStreamName, "", true), nil, Top) if err != nil { return err } |