Skip to content

Commit 17830a1

Browse files
fix prefetc promise arry
1 parent 9845490 commit 17830a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpcCoreKit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
402402
}
403403

404404
// wait for prefetch completed before setup tkey
405-
const [loginResponse] = await Promise.all([loginPromise, prefetchTssPublicKeys]);
405+
const [loginResponse] = await Promise.all([loginPromise, ...prefetchTssPubs]);
406406

407407
const postBoxKey = this._getPostBoxKey(loginResponse);
408408

0 commit comments

Comments
 (0)