Skip to content

Commit 47e53d3

Browse files
committed
fix
1 parent 5177540 commit 47e53d3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

ed25519/tests/ed_25519.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,19 @@ describe("Ed25519", () => {
5656
it("sign and verify with MPC Ed25519", async () => {
5757
const owner = readKpJson(`${os.homedir()}/.config/solana/id.json`);
5858

59+
const mxePublicKey = await getMXEPublicKeyWithRetry(
60+
provider as anchor.AnchorProvider,
61+
program.programId
62+
);
63+
console.log("MXE x25519 pubkey:", mxePublicKey);
64+
5965
console.log("Initializing computation definitions");
6066
const initSMSig = await initSignMessageCompDef(program, owner, false, false);
6167
console.log("Sign message computation definition initialized with signature", initSMSig);
6268

6369
const initVSSig = await initVerifySignatureCompDef(program, owner, false, false);
6470
console.log("Verify signature computation definition initialized with signature", initVSSig);
6571

66-
const mxePublicKey = await getMXEPublicKeyWithRetry(
67-
provider as anchor.AnchorProvider,
68-
program.programId
69-
);
70-
71-
console.log("MXE x25519 pubkey:", mxePublicKey);
72-
7372
console.log("\nSigning message with MPC Ed25519");
7473
let message = new TextEncoder().encode('hello');
7574

0 commit comments

Comments
 (0)