diff --git a/lib/src/screens/restore/wallet_restore_page.dart b/lib/src/screens/restore/wallet_restore_page.dart index 7691d74c3..ed51092df 100644 --- a/lib/src/screens/restore/wallet_restore_page.dart +++ b/lib/src/screens/restore/wallet_restore_page.dart @@ -95,6 +95,7 @@ class WalletRestorePage extends BasePage { final GlobalKey walletRestoreFromSeedFormKey; final GlobalKey walletRestoreFromKeysFormKey; final FocusNode _blockHeightFocusNode; + // DerivationType derivationType = DerivationType.unknown; // String? derivationPath = null; DerivationInfo? derivationInfo; @@ -372,7 +373,12 @@ class WalletRestorePage extends BasePage { } else if (derivationsWithHistory == 1) { dInfo = derivations[derivationWithHistoryIndex]; } else if (derivationsWithHistory == 0 && derivations.isNotEmpty) { - dInfo = derivations.first; + dInfo = DerivationInfo( + derivationType: DerivationType.bip39, + derivationPath: "m/84'/0'/0'", + description: "Standard BIP84 native segwit", + scriptType: "p2wpkh", + ); } if (dInfo == null) {