mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
minor fix
This commit is contained in:
parent
6de618c22a
commit
653f3974e4
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue