mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Correct comment type for newInboundPeer.
This commit is contained in:
parent
f67358d4db
commit
c379061d6f
2
peer.go
2
peer.go
@ -1629,7 +1629,7 @@ func newPeerBase(s *server, inbound bool) *peer {
|
||||
return &p
|
||||
}
|
||||
|
||||
// newPeer returns a new inbound bitcoin peer for the provided server and
|
||||
// newInboundPeer returns a new inbound bitcoin peer for the provided server and
|
||||
// connection. Use Start to begin processing incoming and outgoing messages.
|
||||
func newInboundPeer(s *server, conn net.Conn) *peer {
|
||||
p := newPeerBase(s, true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user