Skip to content

Commit

Permalink
Fix blockTrackerInspectorMiddleware (#88)
Browse files Browse the repository at this point in the history
The final line of this middleware should be `return undefined;`, not `return await next();`, as `next()` is already called earlier in the function.
  • Loading branch information
rekmarks authored Mar 26, 2021
1 parent c7a5602 commit 5dfa661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block-tracker-inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export function createBlockTrackerInspectorMiddleware({
await blockTracker.checkForLatestBlock();
}
}
return next();
return undefined;
});
}

0 comments on commit 5dfa661

Please sign in to comment.