diff --git a/src/mappings/amm.ts b/src/mappings/amm.ts index e6797df..0701d96 100644 --- a/src/mappings/amm.ts +++ b/src/mappings/amm.ts @@ -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()