This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
p2p: sw.peers.List() is empty in sw.OnStart
pull/570/merge
caojingqi
8 years ago
committed by
Ethan Buchman
parent
eed0297ed5
commit
086544e367
1 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
p2p/switch.go
+ 1
- 4
p2p/switch.go
View File
@ -176,10 +176,7 @@ func (sw *Switch) OnStart() error {
return
err
}
}
// Start peers
for
_
,
peer
:=
range
sw
.
peers
.
List
(
)
{
sw
.
startInitPeer
(
peer
)
}
// Start listeners
for
_
,
listener
:=
range
sw
.
listeners
{
go
sw
.
listenerRoutine
(
listener
)
Write
Preview
Loading…
Cancel
Save