Skip to content

Commit

Permalink
[FAB-7980] Fix ChannelService under ClientContext
Browse files Browse the repository at this point in the history
Change-Id: Ib2989b2a39cb125b5399faa5f4a50a904c9073b7
Signed-off-by: Troy Ronda <[email protected]>
  • Loading branch information
troyronda committed Jan 31, 2018
1 parent 340f2a8 commit 4fc40fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fabsdk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (c *ClientContext) Channel(id string, opts ...ClientOption) (apitxn.Channel
}

// ChannelService returns a client API for interacting with a channel.
func (c *Client) ChannelService(id string) (apifabclient.ChannelService, error) {
func (c *ClientContext) ChannelService(id string) (apifabclient.ChannelService, error) {
p, err := c.provider()
if err != nil {
return nil, errors.WithMessage(err, "unable to get client provider context")
Expand Down

0 comments on commit 4fc40fa

Please sign in to comment.