diff --git a/mpc-core-kit-react-native/mpc-core-kit-rn-expo-auth0/App.tsx b/mpc-core-kit-react-native/mpc-core-kit-rn-expo-auth0/App.tsx index e643c29e..4d81f1dd 100644 --- a/mpc-core-kit-react-native/mpc-core-kit-rn-expo-auth0/App.tsx +++ b/mpc-core-kit-react-native/mpc-core-kit-rn-expo-auth0/App.tsx @@ -421,10 +421,7 @@ function Home() { // if (selectedNetwork === WEB3AUTH_NETWORK.MAINNET) { // throw new Error("reset account is not recommended on mainnet"); // } - await coreKitInstance.tKey.storageLayer.setMetadata({ - privKey: new BN(coreKitInstance.state.postBoxKey!, "hex"), - input: { message: "KEY_NOT_FOUND" }, - }); + await coreKitInstance._UNSAFE_resetAccount(); uiConsole("reset"); if (coreKitInstance.status === COREKIT_STATUS.LOGGED_IN) { await coreKitInstance.commitChanges();