Skip to content

Commit

Permalink
fix: pool id
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Jun 3, 2024
1 parent da5f5ca commit eb33ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappings/services/trancheService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class TrancheService extends Tranche {
// fix token price not accounting for fees
logger.info(`Starting price update ${this.id} to: ${this.tokenPrice} (WITHOUT ACCRUED FEES FIX)`)
const apiCall = api.call as ExtendedCall
const navResponse = await apiCall.poolsApi.nav(this.id)
const navResponse = await apiCall.poolsApi.nav(this.poolId)
if (navResponse.isEmpty) {
logger.info(`Empty response: ${price}`)
this.tokenPrice = price
Expand Down

0 comments on commit eb33ead

Please sign in to comment.