From 3f99346b3561b18e2bed608c065529c4cf87280c Mon Sep 17 00:00:00 2001 From: Chunkai Yang Date: Sat, 23 Mar 2024 10:00:21 -0400 Subject: [PATCH] Pass ctx to client in CCIP OffRamp Address call (#422) --- pkg/loop/internal/ccip/offramp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/loop/internal/ccip/offramp.go b/pkg/loop/internal/ccip/offramp.go index 25660a92f..47f1c43c6 100644 --- a/pkg/loop/internal/ccip/offramp.go +++ b/pkg/loop/internal/ccip/offramp.go @@ -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 }