Correct comment type for newInboundPeer.

This commit is contained in:
Dave Collins 2014-06-11 20:13:44 -05:00
parent f67358d4db
commit c379061d6f

View file

@ -1629,7 +1629,7 @@ func newPeerBase(s *server, inbound bool) *peer {
return &p 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. // connection. Use Start to begin processing incoming and outgoing messages.
func newInboundPeer(s *server, conn net.Conn) *peer { func newInboundPeer(s *server, conn net.Conn) *peer {
p := newPeerBase(s, true) p := newPeerBase(s, true)