|
@@ -71,7 +71,7 @@ export const getWorkerRewards = async (
|
|
|
|
|
|
if (worker.role_stake_profile.isSome) {
|
|
|
const roleStakeProfile = worker.role_stake_profile.unwrap();
|
|
|
- stake = await getStake(api, roleStakeProfile.stake_id);
|
|
|
+ stake = await getStake(api, roleStakeProfile.stake_id, hash);
|
|
|
}
|
|
|
|
|
|
if (worker.reward_relationship.isSome) {
|