diff --git a/bindings/wallet-cordova/src/android/WalletPlugin.kt b/bindings/wallet-cordova/src/android/WalletPlugin.kt index 608d3f2a..2547ad3d 100644 --- a/bindings/wallet-cordova/src/android/WalletPlugin.kt +++ b/bindings/wallet-cordova/src/android/WalletPlugin.kt @@ -105,25 +105,6 @@ class WalletPlugin } } - @ExperimentalUnsignedTypes - @Throws(JSONException::class) - private fun walletRestore(args: CordovaArgs, callbackContext: CallbackContext) { - val mnemonics = args.getString(0) - cordova.threadPool.execute { - try { - val normalized: String = Normalizer.normalize(mnemonics, Form.NFKD) - val wallet = Wallet.fromMnemonics(normalized, emptyList()) - - val walletId = nextWalletId.incrementAndGet() - wallets[walletId] = wallet - callbackContext.success(walletId) - } catch (e: Exception) { - callbackContext.error(e.message) - } - } - } - - @ExperimentalUnsignedTypes @Throws(JSONException::class) private fun symmetricCipherDecrypt(args: CordovaArgs, callbackContext: CallbackContext) {