mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 06:36:46 +00:00
peer: Fix logging of connected peer.
This commit is contained in:
parent
f3d759d783
commit
1ffc3dc18d
@ -1932,6 +1932,7 @@ func (p *Peer) start() error {
|
|||||||
case <-time.After(negotiateTimeout):
|
case <-time.After(negotiateTimeout):
|
||||||
return errors.New("protocol negotiation timeout")
|
return errors.New("protocol negotiation timeout")
|
||||||
}
|
}
|
||||||
|
log.Debugf("Connected to %s", p.Addr())
|
||||||
|
|
||||||
// The protocol has been negotiated successfully so start processing input
|
// The protocol has been negotiated successfully so start processing input
|
||||||
// and output messages.
|
// and output messages.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user