Skip to content

Commit 2280d32

Browse files
authored
Add missing return in SolanaWormholeCore parseSequenceFromLog (#531)
1 parent b54b632 commit 2280d32

File tree

1 file changed

+2
-2
lines changed
  • platforms/solana/protocols/core/src

1 file changed

+2
-2
lines changed

platforms/solana/protocols/core/src/core.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ export class SolanaWormholeCore<N extends Network, C extends SolanaChains>
247247
for (const inner of meta?.innerInstructions) {
248248
const instructions = inner.instructions;
249249
// find the instruction where the programId equals the
250-
// Wormhole ProgramId and the emitter equals the Token Bridge
250+
// Wormhole ProgramId
251251
bridgeIx.push(
252252
...instructions.filter((i) => {
253-
!(
253+
return (
254254
i.programIdIndex in accounts &&
255255
accounts[i.programIdIndex]!.toString() === coreBridgeAddress
256256
);

0 commit comments

Comments
 (0)