Skip to content

Commit

Permalink
hot fix on .timestamp (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 authored Jan 18, 2024
1 parent b55677f commit d72785c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/ethereum/block.ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function filterBlocksProcessor(
if (filter?.modulo && block.number % filter.modulo !== 0) {
return false;
}
if (filter.timestamp) {
if (filter?.timestamp) {
return filterBlockTimestamp(block, filter as SubqlProjectBlockFilter);
}
return true;
Expand Down

0 comments on commit d72785c

Please sign in to comment.