Skip to content

Commit

Permalink
fix issue from github commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EasterTheBunny committed Sep 9, 2024
1 parent 9bbe5a2 commit 3776d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/capabilities/ccip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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,
Expand Down

0 comments on commit 3776d6a

Please sign in to comment.