From e3f5a8da831b4c4c3548c3fc3d3f1c1ee60dbefd Mon Sep 17 00:00:00 2001 From: ulydev Date: Thu, 12 Sep 2024 18:23:13 +0200 Subject: [PATCH] fix: type --- src/mappings/amm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()