|
@ -63,7 +63,6 @@ func (pexR *PEXReactor) GetChannels() []*ChannelDescriptor { |
|
|
|
|
|
|
|
|
// Implements Reactor
|
|
|
// Implements Reactor
|
|
|
func (pexR *PEXReactor) AddPeer(peer *Peer) { |
|
|
func (pexR *PEXReactor) AddPeer(peer *Peer) { |
|
|
// XXX Move this into Switch
|
|
|
|
|
|
// Add the peer to the address book
|
|
|
// Add the peer to the address book
|
|
|
netAddr := NewNetAddressString(peer.ListenAddr) |
|
|
netAddr := NewNetAddressString(peer.ListenAddr) |
|
|
if peer.IsOutbound() { |
|
|
if peer.IsOutbound() { |
|
|