swarm/network/stream: fix a typo in comment

This commit is contained in:
Janos Guljas 2018-09-29 13:35:56 +02:00 committed by zelig
parent f6680c611c
commit 7b1e4f86a6

View file

@ -527,7 +527,7 @@ func (s *server) setNextBatch(from, to uint64) ([]byte, uint64, uint64, *Handove
// Server interface for outgoing peer Streamer // Server interface for outgoing peer Streamer
type Server interface { 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. // to get the current cursor state of the stream data.
// Based on this index, live and history stream intervals // Based on this index, live and history stream intervals
// will be adjusted before calling SetNextBatch. // will be adjusted before calling SetNextBatch.