fix: regression in rewards provider where lowestFetched is off by one (#18392)
This commit is contained in:
parent
7cd6224caf
commit
d2b07dca9d
|
@ -137,7 +137,7 @@ async function fetchRewards(
|
|||
}
|
||||
|
||||
const results = await Promise.all(requests);
|
||||
const lowestFetchedEpoch = fromEpoch - requests.length;
|
||||
const lowestFetchedEpoch = fromEpoch - requests.length + 1;
|
||||
|
||||
dispatch({
|
||||
type: ActionType.Update,
|
||||
|
|
Loading…
Reference in New Issue