mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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) {
|
||||
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",
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue