Web3Auth / mpc-core-kit

16 stars 4 forks source link

Fix/atomic commit bug #134

Closed ieow closed 5 months ago

ieow commented 5 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