diff --git a/lib/utilities/constants.dart b/lib/utilities/constants.dart index f60a0fe1e..77c034be1 100644 --- a/lib/utilities/constants.dart +++ b/lib/utilities/constants.dart @@ -197,7 +197,7 @@ abstract class Constants { values.addAll([24, 12]); case Coin.monero: - values.addAll([25]); + values.addAll([16, 25]); break; case Coin.wownero: values.addAll([14, 25]); diff --git a/lib/wallets/wallet/impl/monero_wallet.dart b/lib/wallets/wallet/impl/monero_wallet.dart index 5f681c774..92da26d0d 100644 --- a/lib/wallets/wallet/impl/monero_wallet.dart +++ b/lib/wallets/wallet/impl/monero_wallet.dart @@ -392,7 +392,7 @@ class MoneroWallet extends CryptonoteWallet with CwBasedInterface { final mnemonic = await getMnemonic(); final seedLength = mnemonic.trim().split(" ").length; - if (seedLength != 25) { + if (seedLength != 25 && seedLength != 16) { throw Exception("Invalid monero mnemonic length found: $seedLength"); }