Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd committed Sep 28, 2024
1 parent 8e3974a commit cfcb0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/runAdapterByName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const handler = async (event: { bridgeName: string }) => {
`;

console.log(`Running adapter for ${bridgeName}`);
await runAdapterToCurrentBlock(bridge, true, "ignore", lastRecordedBlocks);
await runAdapterToCurrentBlock(bridge, true, "ignore", lastRecordedBlocks[0].result);
console.log(`Adapter for ${bridgeName} ran successfully`);
} catch (e) {
console.error(`Adapter ${event.bridgeName} failed: ${JSON.stringify(e)}`);
Expand Down

0 comments on commit cfcb0e7

Please sign in to comment.