diff --git a/src/contexts/PairData.js b/src/contexts/PairData.js index 98f7ded2c..054ac8a0a 100644 --- a/src/contexts/PairData.js +++ b/src/contexts/PairData.js @@ -392,7 +392,7 @@ const getHourlyRateData = async (pairAddress, startTime, latestBlock) => { // create an array of hour start times until we reach current hour const timestamps = [] - while (time <= utcEndTime.unix() - 3600) { + while (time <= utcEndTime.unix()) { timestamps.push(time) time += 3600 }