|
@@ -62,10 +62,10 @@ export async function acceptStorageBucketInvitation(
|
|
|
account: KeyringPair,
|
|
|
workerId: number,
|
|
|
storageBucketId: number,
|
|
|
- transactorAccountId: string,
|
|
|
+ transactorAccountId: string
|
|
|
): Promise<boolean> {
|
|
|
return await extrinsicWrapper(() => {
|
|
|
- const tx = api.tx.storage.acceptStorageBucketInvitation(workerId, storageBucketId, '')
|
|
|
+ const tx = api.tx.storage.acceptStorageBucketInvitation(workerId, storageBucketId, transactorAccountId)
|
|
|
|
|
|
return sendAndFollowNamedTx(api, account, tx)
|
|
|
})
|