Skip to content

Commit

Permalink
Pass ctx to client in CCIP OffRamp Address call (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
matYang authored Mar 23, 2024
1 parent c150979 commit 3f99346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/loop/internal/ccip/offramp.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var _ ccippb.OffRampReaderServer = (*OffRampReaderGRPCServer)(nil)

// Address i[github.com/smartcontractkit/chainlink-common/pkg/types/ccip.OffRampReader]
func (o *OffRampReaderGRPCClient) Address(ctx context.Context) (cciptypes.Address, error) {
resp, err := o.client.Address(context.TODO(), &emptypb.Empty{})
resp, err := o.client.Address(ctx, &emptypb.Empty{})
if err != nil {
return cciptypes.Address(""), err
}
Expand Down

0 comments on commit 3f99346

Please sign in to comment.