Skip to content

Commit

Permalink
use non related signature to pkp for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Long committed Oct 27, 2023
1 parent 1aec432 commit 84a871d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function main() {
const pkpPubKey = pkp.publicKey;

const pkpSignRes = await client?.executeJs({
authSig: LITCONFIG.CONTROLLER_AUTHSIG,
authSig: LITCONFIG.CONTROLLER_AUTHSIG_2,
authMethods: [authMethod], // This is not workingu!
code: `(async () => {
const sigShare = await LitActions.signEcdsa({
Expand Down Expand Up @@ -99,7 +99,7 @@ export async function main() {

// ==================== Success ====================
return success(
`it should use sessionSigs generated by eth wallet auth method to sign data. Signature is ${signature} and pkpSignRes is ${JSON.stringify(
`it should use sessionSigs generated by eth wallet auth method to sign data. Signature is ${pkpSignRes.signatures} and pkpSignRes is ${JSON.stringify(
pkpSignRes
)}`
);
Expand Down

0 comments on commit 84a871d

Please sign in to comment.