Skip to content

Commit 5f8870f

Browse files
committed
fix: rebase issue
1 parent ef7e61f commit 5f8870f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/mpcCoreKit.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,10 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
967967
}
968968
return r;
969969
} finally {
970-
this.tkey.manualSync = this.options.manualSync;
970+
this.atomicCallStackCounter -= 1;
971+
if (this.atomicCallStackCounter === 0) {
972+
this.tkey.manualSync = this.options.manualSync;
973+
}
971974
}
972975
}
973976

tests/factors.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import { tssLib as tssLibDKLS } from "@toruslabs/tss-dkls-lib";
77
import { tssLib as tssLibFROST } from "@toruslabs/tss-frost-lib";
88
import BN from "bn.js";
99

10-
import { COREKIT_STATUS, IAsyncStorage, IStorage, MemoryStorage, TssLib, TssShareType, WEB3AUTH_NETWORK, Web3AuthMPCCoreKit } from "../src";
10+
import { COREKIT_STATUS, IAsyncStorage, IStorage, MemoryStorage, TssLibType, TssShareType, WEB3AUTH_NETWORK, Web3AuthMPCCoreKit } from "../src";
1111
import { AsyncMemoryStorage, bufferToElliptic, criticalResetAccount, mockLogin } from "./setup";
1212

1313
type FactorTestVariable = {
1414
manualSync?: boolean;
1515
storage?: IAsyncStorage | IStorage;
1616
email: string;
17-
tssLib?: TssLib;
17+
tssLib?: TssLibType;
1818
};
1919

2020
function getPubKeys(kit: Web3AuthMPCCoreKit, indices: number[]): EllipticPoint[] {

0 commit comments

Comments
 (0)