Skip to content

Commit

Permalink
Merge "FAB-16286 Unexport and rename IT func"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Yellick authored and Gerrit Code Review committed Nov 19, 2019
2 parents 4cfafee + 6baa59e commit 1b3c683
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/nwo/orderer_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

// Broadcast sends given env to Broadcast API of specified orderer.
func Broadcast(n *Network, o *Orderer, env *common.Envelope) (*orderer.BroadcastResponse, error) {
gRPCclient, err := CreateGRPCClient(n, o)
gRPCclient, err := createOrdererGRPCClient(n, o)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -52,7 +52,7 @@ func Broadcast(n *Network, o *Orderer, env *common.Envelope) (*orderer.Broadcast

// Deliver sends given env to Deliver API of specified orderer.
func Deliver(n *Network, o *Orderer, env *common.Envelope) (*common.Block, error) {
gRPCclient, err := CreateGRPCClient(n, o)
gRPCclient, err := createOrdererGRPCClient(n, o)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -87,7 +87,7 @@ func Deliver(n *Network, o *Orderer, env *common.Envelope) (*common.Block, error
return blk, nil
}

func CreateGRPCClient(n *Network, o *Orderer) (*comm.GRPCClient, error) {
func createOrdererGRPCClient(n *Network, o *Orderer) (*comm.GRPCClient, error) {
config := comm.ClientConfig{}
config.Timeout = 5 * time.Second

Expand Down

0 comments on commit 1b3c683

Please sign in to comment.