Skip to content

Commit

Permalink
fix: rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Dec 17, 2024
1 parent d42a4d5 commit b9f1924
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mpcCoreKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,10 +898,6 @@ export class Web3AuthMPCCoreKit implements ICoreKit, IMPCContext {
if (opts?.keyTweak) {
throw CoreKitError.default("key tweaking not supported for ecdsa-secp256k1");
}
if (this.state.remoteClient && !this.state.factorKey) {
const sig = await this.remoteSignSecp256k1(data, opts?.hashed);
return Buffer.concat([sig.r, sig.s, Buffer.from([sig.v])]);
}
const sig = await this.sign_ECDSA_secp256k1(data, opts?.hashed, opts?.secp256k1Precompute);
return Buffer.concat([sig.r, sig.s, Buffer.from([sig.v])]);
} else if (this._sigType === "ed25519" || this._sigType === "bip340") {
Expand Down

0 comments on commit b9f1924

Please sign in to comment.