Skip to content

Commit

Permalink
feat(BUX-723): removed unused listener from peer struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-4chain committed Apr 17, 2024
1 parent 63345a8 commit f965e5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/transports/p2p/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ type Peer struct {
conn net.Conn
// addr is the net.Addr of peer, used for connection
addr *net.TCPAddr
// listener is the net.Listener for inbound connections
listener net.Listener
// inbound is specifying if the peer is inbound (incoming) or outbound (outgoing)
inbound bool
// cfg is the P2P configuration specified by the user
Expand Down

0 comments on commit f965e5e

Please sign in to comment.