diff --git a/yearn/apy/curve/simple.py b/yearn/apy/curve/simple.py index b54042943..58661f6d1 100644 --- a/yearn/apy/curve/simple.py +++ b/yearn/apy/curve/simple.py @@ -193,8 +193,8 @@ async def calculate_simple(vault, gauge: Gauge, samples: ApySamples) -> Apy: gauge.gauge_inflation_rate * gauge_weight * (SECONDS_PER_YEAR / gauge.gauge_working_supply) - * (PER_MAX_BOOST / pool_price) - * crv_price + * (PER_MAX_BOOST / float(pool_price)) + * float(crv_price) ) / base_asset_price if y_gauge_balance > 0: