mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +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:
@@ -66,4 +66,13 @@ abstract class WalletBase<
|
||||
Future<void> rescan({int height});
|
||||
|
||||
void close();
|
||||
|
||||
Future<void> updateAddressesInfo() async {
|
||||
try {
|
||||
walletInfo.address = address;
|
||||
await walletInfo.save();
|
||||
} catch (e) {
|
||||
print(e.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user