Skip to content

Commit

Permalink
Update EventProcessor.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alfulinku committed Oct 9, 2024
1 parent 8641404 commit ff93638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function ProcessAsync(event: EventData) {
}

console.log(`NEW EVENT DETECTED AT BLOCK ${event.block}: ${event.eventName}`, { args: event.eventArgs });
if (process.env.FILTER_AUTHOR) {
if (process.env.FILTER_AUTHOR && process.env.FILTER_AUTHOR.toLowerCase() == 'true') {
if (
event.eventName.toLowerCase() === 'reallocatewithdraw' ||
event.eventName.toLowerCase() === 'reallocatesupply'
Expand Down

0 comments on commit ff93638

Please sign in to comment.