From b9f19246873949452857c604c69a236450a5a1f3 Mon Sep 17 00:00:00 2001 From: ieow Date: Tue, 17 Dec 2024 14:51:52 +0800 Subject: [PATCH] fix: rebase issue --- src/mpcCoreKit.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mpcCoreKit.ts b/src/mpcCoreKit.ts index f043b3b..dea7509 100644 --- a/src/mpcCoreKit.ts +++ b/src/mpcCoreKit.ts @@ -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") {