Web3Auth / mpc-core-kit

16 stars 5 forks source link

Fix/atomic commit bug #134

Closed ieow closed 7 months ago

ieow commented 7 months ago

Issue: manual Sync =false relogin with recovery factor will failed. due to loginWithJwt will fail with factorKey not found due to commitChanges is called.

Fix: move the commitChanges to newUser case in setupTkey function