Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulydev committed Sep 12, 2024
1 parent 99e04a2 commit e3f5a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappings/amm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function handleAddLiquidity(event: AddLiquidity): void {
poolIBTAssetAmount.amount.equals(ZERO_BI) &&
poolPTAssetAmount.amount.equals(ZERO_BI)
) {
pool.feeRate = getPoolFee(pool.address)
pool.feeRate = getPoolFee(Address.fromBytes(pool.address))
}

pool.save()
Expand Down

0 comments on commit e3f5a8d

Please sign in to comment.