Skip to content

Commit

Permalink
[worker] fix signature of trusted call
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Apr 6, 2024
1 parent 7773a51 commit 187075e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/worker-api/src/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ export const createTrustedCall = (
return self.createType('TrustedCallSigned', {
call: call,
nonce: nonce,
signature: toAccount(accountOrPubKey, self.keyring()).sign(payload)
signature: { Sr25519: toAccount(accountOrPubKey, self.keyring()).sign(payload) },
});
}

0 comments on commit 187075e

Please sign in to comment.