minor fix

This commit is contained in:
Matthew Fosse 2024-04-26 13:20:44 -07:00
parent 6de618c22a
commit 653f3974e4

View file

@ -373,6 +373,9 @@ class WalletRestorePage extends BasePage {
} }
} }
// dInfo = await Navigator.of(context).pushNamed(Routes.restoreWalletChooseDerivation,
// arguments: derivations) as DerivationInfo?;
if (derivationsWithHistory > 1) { if (derivationsWithHistory > 1) {
dInfo = await Navigator.of(context).pushNamed(Routes.restoreWalletChooseDerivation, dInfo = await Navigator.of(context).pushNamed(Routes.restoreWalletChooseDerivation,
arguments: derivations) as DerivationInfo?; arguments: derivations) as DerivationInfo?;
@ -381,7 +384,7 @@ class WalletRestorePage extends BasePage {
} else if (derivationsWithHistory == 0 && derivations.isNotEmpty) { } else if (derivationsWithHistory == 0 && derivations.isNotEmpty) {
dInfo = DerivationInfo( dInfo = DerivationInfo(
derivationType: DerivationType.bip39, derivationType: DerivationType.bip39,
derivationPath: "m/84'/0'/0'", derivationPath: "m/84'/0'/0'/0",
description: "Standard BIP84 native segwit", description: "Standard BIP84 native segwit",
scriptType: "p2wpkh", scriptType: "p2wpkh",
); );