Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
use factors's curve instead of tkeycurve
  • Loading branch information
ieow committed Nov 6, 2024
1 parent d82f4c1 commit 59b2ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpcCoreKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ export class Web3AuthMPCCoreKit implements ICoreKit {

const { tssIndex } = await this.tKey.getTSSShare(factorKey);
const factorPoint = getPubKeyPoint(factorKey, factorKeyCurve);
const factorPub = factorPoint.toSEC1(this.tkey.tssCurve, true).toString("hex");
const factorPub = factorPoint.toSEC1(factorKeyCurve, true).toString("hex");

const params = {
module: shareDescription,
Expand Down

0 comments on commit 59b2ed8

Please sign in to comment.