Skip to content

Commit

Permalink
fix: handle all gauges events (regardless gauge type)
Browse files Browse the repository at this point in the history
  • Loading branch information
sistemico committed Aug 25, 2021
1 parent c517e67 commit e4a440d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mappings/dao/gauge-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ export function handleNewGauge(event: NewGauge): void {
state.save()

// Start indexing gauge events
if (gaugeType.name == 'Liquidity' || gaugeType.name.includes('Crypto Pools')) {
LiquidityGauge.create(event.params.addr)
}
LiquidityGauge.create(event.params.addr)
}

export function handleNewGaugeWeight(event: NewGaugeWeight): void {
Expand Down

0 comments on commit e4a440d

Please sign in to comment.