Skip to content

Commit b9f1924

Browse files
committed
fix: rebase issue
1 parent d42a4d5 commit b9f1924

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/mpcCoreKit.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -898,10 +898,6 @@ export class Web3AuthMPCCoreKit implements ICoreKit, IMPCContext {
898898
if (opts?.keyTweak) {
899899
throw CoreKitError.default("key tweaking not supported for ecdsa-secp256k1");
900900
}
901-
if (this.state.remoteClient && !this.state.factorKey) {
902-
const sig = await this.remoteSignSecp256k1(data, opts?.hashed);
903-
return Buffer.concat([sig.r, sig.s, Buffer.from([sig.v])]);
904-
}
905901
const sig = await this.sign_ECDSA_secp256k1(data, opts?.hashed, opts?.secp256k1Precompute);
906902
return Buffer.concat([sig.r, sig.s, Buffer.from([sig.v])]);
907903
} else if (this._sigType === "ed25519" || this._sigType === "bip340") {

0 commit comments

Comments
 (0)