Use Subgraph & Batched Events #2

Closed
tornadocontrib wants to merge 8 commits from tornadocontrib/nova-ui:events into master
2 changed files with 16 additions and 18 deletions
Showing only changes of commit 6447563ea0 - Show all commits

@ -141,7 +141,6 @@ const getNullifiers = async (blockFrom) => {
blockFrom = lastSyncBlock + numbers.ONE blockFrom = lastSyncBlock + numbers.ONE
} }
if (!blockTo || blockTo > blockFrom) {
let nodeEvents = await self.BatchEventsService.getBatchEvents({ let nodeEvents = await self.BatchEventsService.getBatchEvents({
fromBlock: blockFrom, fromBlock: blockFrom,
type: 'NewNullifier' type: 'NewNullifier'
@ -160,7 +159,6 @@ const getNullifiers = async (blockFrom) => {
events.push(...nodeEvents) events.push(...nodeEvents)
} }
}
return events return events
} catch (err) { } catch (err) {

File diff suppressed because one or more lines are too long