Skip to content

Commit

Permalink
fix: reading ccip hook/ism addresses (#5461)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalaji authored Feb 13, 2025
1 parent 5002496 commit e6a82ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typescript/sdk/src/ccip/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ export class CCIPContractCache {

getHook(origin: ChainName, destination: ChainName): string | undefined {
return this.cachedAddresses[origin]?.[
`${CCIP_HOOK_KEY_PREFIX}-${destination}`
`${CCIP_HOOK_KEY_PREFIX}_${destination}`
];
}

getIsm(origin: ChainName, destination: ChainName): string | undefined {
return this.cachedAddresses[destination]?.[
`${CCIP_ISM_KEY_PREFIX}-${origin}`
`${CCIP_ISM_KEY_PREFIX}_${origin}`
];
}
}

0 comments on commit e6a82ff

Please sign in to comment.