aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/stream
diff options
context:
space:
mode:
authorHackyMiner <hackyminer@gmail.com>2018-09-20 00:10:40 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-20 00:10:40 +0800
commit6975c7298102f73981a62871f6da8db2b5dbf32c (patch)
tree53f440dcae0e0f48cd9d7de52e2cea96ecbe9664 /swarm/network/stream
parentc35659c6a0d8c9dd7b7616bb91700385292f403a (diff)
downloaddexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.gz
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.bz2
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.lz
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.xz
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.tar.zst
dexon-6975c7298102f73981a62871f6da8db2b5dbf32c.zip
all: fix various comment typos (#17591)
* swarm: fixed comment typo * eth: fixed comment typo * cmd/puppeth: fixed comment typo
Diffstat (limited to 'swarm/network/stream')
-rw-r--r--swarm/network/stream/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/peer.go b/swarm/network/stream/peer.go
index 1466a7a9c..5fdaa7b87 100644
--- a/swarm/network/stream/peer.go
+++ b/swarm/network/stream/peer.go
@@ -165,7 +165,7 @@ func (p *Peer) SendOfferedHashes(s *server, f, t uint64) error {
if err != nil {
return err
}
- // true only when quiting
+ // true only when quitting
if len(hashes) == 0 {
return nil
}