Skip to content

Commit eade942

Browse files
committed
change context
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent f41f9b7 commit eade942

File tree

1 file changed

+1
-1
lines changed
  • platform/fabric/core/generic/ordering

1 file changed

+1
-1
lines changed

platform/fabric/core/generic/ordering/cft.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (o *CFTBroadcaster) getConnection(ctx context.Context) (*Connection, error)
137137
return nil, errors.Wrapf(err, "failed to new a broadcast for %s, rpcStatus=%+v", to.Address, rpcStatus)
138138
}
139139

140-
stream, err := oClient.Broadcast(ctx)
140+
stream, err := oClient.Broadcast(context.Background())
141141
if err != nil {
142142
client.Close()
143143
return nil, errors.Wrapf(err, "failed creating orderer stream for %s", to.Address)

0 commit comments

Comments
 (0)