From 7b1e4f86a6899a62821a3f6b7dd5dc2affa19b38 Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Sat, 29 Sep 2018 13:35:56 +0200 Subject: [PATCH] swarm/network/stream: fix a typo in comment --- swarm/network/stream/stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/network/stream/stream.go b/swarm/network/stream/stream.go index 0519fef5be..3861cfcf6a 100644 --- a/swarm/network/stream/stream.go +++ b/swarm/network/stream/stream.go @@ -527,7 +527,7 @@ func (s *server) setNextBatch(from, to uint64) ([]byte, uint64, uint64, *Handove // Server interface for outgoing peer Streamer type Server interface { - // SessionIndex is called then a server is initialized + // SessionIndex is called when a server is initialized // to get the current cursor state of the stream data. // Based on this index, live and history stream intervals // will be adjusted before calling SetNextBatch.