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:
OleksandrSobol
2021-06-18 15:36:49 +03:00
parent b5cacbc1c1
commit 6709b7779a
13 changed files with 81 additions and 18 deletions
+9
View File
@@ -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());
}
}
}