Skip to content

Commit

Permalink
fixup: consensus to port
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Feb 22, 2023
1 parent a95bdc2 commit 7164ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type tcpConn struct {
}

func createTCPListener(cfg *configs.P2PConfig) (*tcpConn, error) {
addr, err := net.ResolveTCPAddr(TCPNetworkLayerProtocol, fmt.Sprintf(":%d", cfg.ConsensusPort))
addr, err := net.ResolveTCPAddr(TCPNetworkLayerProtocol, fmt.Sprintf(":%d", cfg.Port))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7164ff7

Please sign in to comment.