From 653f3974e47a4bb6a00973cce641d9ee9a6036b3 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Fri, 26 Apr 2024 13:20:44 -0700 Subject: [PATCH] minor fix --- lib/src/screens/restore/wallet_restore_page.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/screens/restore/wallet_restore_page.dart b/lib/src/screens/restore/wallet_restore_page.dart index 96ee7fbf6..c3594ec43 100644 --- a/lib/src/screens/restore/wallet_restore_page.dart +++ b/lib/src/screens/restore/wallet_restore_page.dart @@ -373,6 +373,9 @@ class WalletRestorePage extends BasePage { } } + // dInfo = await Navigator.of(context).pushNamed(Routes.restoreWalletChooseDerivation, + // arguments: derivations) as DerivationInfo?; + if (derivationsWithHistory > 1) { dInfo = await Navigator.of(context).pushNamed(Routes.restoreWalletChooseDerivation, arguments: derivations) as DerivationInfo?; @@ -381,7 +384,7 @@ class WalletRestorePage extends BasePage { } else if (derivationsWithHistory == 0 && derivations.isNotEmpty) { dInfo = DerivationInfo( derivationType: DerivationType.bip39, - derivationPath: "m/84'/0'/0'", + derivationPath: "m/84'/0'/0'/0", description: "Standard BIP84 native segwit", scriptType: "p2wpkh", );