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