mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
CAKE-343 | applied subaddresses for contact book; added addresses field to wallet_info.dart; added updateAddressesInfo() to wallet_base.dart; applied updateAddressesInfo() to wallet services and view models
This commit is contained in:
@@ -44,6 +44,7 @@ class BitcoinWalletService extends WalletService<
|
||||
final wallet = await BitcoinWalletBase.open(
|
||||
password: password, name: name, walletInfo: walletInfo);
|
||||
await wallet.init();
|
||||
await wallet.updateAddressesInfo();
|
||||
return wallet;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,6 +125,8 @@ abstract class ElectrumWalletBase extends WalletBase<ElectrumBalance,
|
||||
|
||||
address = addresses[_accountIndex].address;
|
||||
|
||||
await updateAddressesInfo();
|
||||
|
||||
await save();
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ class LitecoinWalletService extends WalletService<
|
||||
final wallet = await LitecoinWalletBase.open(
|
||||
password: password, name: name, walletInfo: walletInfo);
|
||||
await wallet.init();
|
||||
await wallet.updateAddressesInfo();
|
||||
return wallet;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user