Skip to content

Commit

Permalink
Add missing return in SolanaWormholeCore parseSequenceFromLog (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Picco authored May 9, 2024
1 parent b54b632 commit 2280d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/solana/protocols/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ export class SolanaWormholeCore<N extends Network, C extends SolanaChains>
for (const inner of meta?.innerInstructions) {
const instructions = inner.instructions;
// find the instruction where the programId equals the
// Wormhole ProgramId and the emitter equals the Token Bridge
// Wormhole ProgramId
bridgeIx.push(
...instructions.filter((i) => {
!(
return (
i.programIdIndex in accounts &&
accounts[i.programIdIndex]!.toString() === coreBridgeAddress
);
Expand Down

0 comments on commit 2280d32

Please sign in to comment.