diff --git a/peer.go b/peer.go index 4481353d..b358a3a5 100644 --- a/peer.go +++ b/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)