From 3776d6a0259daa95137f6ff40630f811b77be4ab Mon Sep 17 00:00:00 2001 From: Awbrey Hughlett Date: Mon, 9 Sep 2024 12:34:29 -0500 Subject: [PATCH] fix issue from github commit --- core/capabilities/ccip/delegate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/capabilities/ccip/delegate.go b/core/capabilities/ccip/delegate.go index 1cfead955ab..84f3e7c1b76 100644 --- a/core/capabilities/ccip/delegate.go +++ b/core/capabilities/ccip/delegate.go @@ -308,7 +308,7 @@ func bindReader(ctx context.Context, Name: consts.ContractNameCapabilitiesRegistry, } - err = reader.Bind(ctx, []types.BoundContract{binding}) + err = reader.Bind(ctx, []types.BoundContract{boundContract}) if err != nil { return nil, types.BoundContract{}, fmt.Errorf("failed to bind home chain contract reader: %w", err) } @@ -321,7 +321,7 @@ func bindReader(ctx context.Context, var ccipCapabilityInfo kcr.CapabilitiesRegistryCapabilityInfo err = reader.GetLatestValue( ctx, - binding.ReadIdentifier(consts.MethodNameGetCapability), + boundContract.ReadIdentifier(consts.MethodNameGetCapability), primitives.Unconfirmed, map[string]any{ "hashedId": hid,