diff --git a/lib/models/generateWallets.dart b/lib/models/generateWallets.dart index 36ed99f..da33f96 100644 --- a/lib/models/generateWallets.dart +++ b/lib/models/generateWallets.dart @@ -160,7 +160,8 @@ class GenerateWalletsProvider with ChangeNotifier { this.actualWallet = await DubpRust.genWalletFromMnemonic( language: Language.french, mnemonic: generatedMnemonic, - secretCodeType: SecretCodeType.letters); + secretCodeType: SecretCodeType.letters, + walletType: WalletType.bip32Ed25519); } catch (e, stack) { print(e); if (kReleaseMode) { diff --git a/lib/models/walletOptions.dart b/lib/models/walletOptions.dart index afe716e..9711b9e 100644 --- a/lib/models/walletOptions.dart +++ b/lib/models/walletOptions.dart @@ -63,6 +63,10 @@ class WalletOptionsProvider with ChangeNotifier { this.pubkey.text = _localPubkey; isWalletUnlock = true; notifyListeners(); + print('GET BIP32 accounts publickeys from this dewif'); + String _hdWallets = await DubpRust.getBip32DewifAccountsPublicKeys( + dewif: _localDewif, secretCode: _pin, accountsIndex: [0, 1, 2]); + print(_hdWallets); return _localDewif; } else {