Skip to content

Commit 26601cc

Browse files
committed
chore: revert session manager changes
1 parent 3669bdb commit 26601cc

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/mpcCoreKit.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,20 +1178,7 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
11781178

11791179
this.updateState({ tssShareIndex, tssPubKey, factorKey });
11801180

1181-
if (this.sessionManager && this.sessionId) {
1182-
const payload: SessionData = {
1183-
postBoxKey: this.state.postBoxKey,
1184-
postboxKeyNodeIndexes: this.state.postboxKeyNodeIndexes || [],
1185-
factorKey: this.state.factorKey?.toString("hex"),
1186-
tssShareIndex: this.state.tssShareIndex as number,
1187-
tssPubKey: this.state.tssPubKey?.toString("hex"),
1188-
signatures: this.signatures,
1189-
userInfo: this.state.userInfo,
1190-
};
1191-
this.sessionManager.updateSession(payload);
1192-
} else {
1193-
await this.createSession();
1194-
}
1181+
await this.createSession();
11951182
}
11961183

11971184
private checkReady() {

0 commit comments

Comments
 (0)