electrum updates (#1449)

* hotfixes

* copy over the rest of the fixes

* use hardened derivation path everywhere

* correct balance path for electrum

* revert index nullability and correct balance path for all cases

* only save wallet info if we changed it
This commit is contained in:
Matthew Fosse
2024-06-18 08:08:03 +03:00
committed by GitHub
parent fc2c9a2bcc
commit 591342ec6a
10 changed files with 66 additions and 46 deletions
+1
View File
@@ -186,6 +186,7 @@ abstract class Bitcoin {
{required String mnemonic, required Node node});
Future<List<DerivationInfo>> getDerivationsFromMnemonic(
{required String mnemonic, required Node node, String? passphrase});
Map<DerivationType, List<DerivationInfo>> getElectrumDerivations();
Future<void> setAddressType(Object wallet, dynamic option);
ReceivePageOption getSelectedAddressType(Object wallet);
List<ReceivePageOption> getBitcoinReceivePageOptions();