|
@@ -61,7 +61,7 @@ export const getWorkerRewards = async (
|
|
|
for (let id = 0; id < nextWorkerId; ++id) {
|
|
|
const worker: WorkerOf = await getWorker(api, group, hash, id);
|
|
|
|
|
|
- const account = worker.role_account_id;
|
|
|
+ const account = worker.role_account_id as AccountId;
|
|
|
const memberId = worker.member_id;
|
|
|
const member: Membership = await getMember(api, memberId, hash);
|
|
|
const handle = member ? String(member.handle) : account.toString();
|