From 629dbce433d7ad9b911ab9adc878a25f385d3032 Mon Sep 17 00:00:00 2001 From: Finn Date: Thu, 14 Mar 2024 15:36:12 +0000 Subject: [PATCH] shift one 4h back --- hooks/useStakeRates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useStakeRates.ts b/hooks/useStakeRates.ts index b388d41..4998071 100644 --- a/hooks/useStakeRates.ts +++ b/hooks/useStakeRates.ts @@ -20,7 +20,7 @@ const fetchRates = async () => { const rateData: Record = {} rateData.jlp = - (12 * (jlpPrices[jlpPrices.length - 1].price - jlpPrices[0].price)) / + (12 * (jlpPrices[jlpPrices.length - 2].price - jlpPrices[0].price)) / jlpPrices[0].price