diff --git a/pkg/initializer/orderer/configtx/encoder.go b/pkg/initializer/orderer/configtx/encoder.go index 12745b91..be8300e0 100644 --- a/pkg/initializer/orderer/configtx/encoder.go +++ b/pkg/initializer/orderer/configtx/encoder.go @@ -81,7 +81,7 @@ func NewApplicationOrgGroup(conf *Organization) (*cb.ConfigGroup, error) { for _, anchorPeer := range conf.AnchorPeers { anchorProtos = append(anchorProtos, &pb.AnchorPeer{ Host: anchorPeer.Host, - Port: int32(anchorPeer.Port), + Port: int32(anchorPeer.Port), // #nosec G115 }) }