Merge pull request #5 from cake-tech/CWA-154-account-bug

Fixed getting of subaddresses for current selected account
This commit is contained in:
M 2020-01-09 11:33:06 +02:00
commit 42abddcf98
2 changed files with 1 additions and 2 deletions

View file

@ -6,8 +6,8 @@ analyzer:
implicit-dynamic: false
exclude:
- "build/**"
- "**/*.g.dart"
- "lib/generated/*.dart"
- "**.g.dart"
linter:
rules:

View file

@ -30,7 +30,6 @@ void refreshSubaddresses({int accountIndex}) =>
subaddressRefreshNative(accountIndex);
List<SubaddressRow> getAllSubaddresses() {
refreshSubaddresses(accountIndex: 0);
final size = subaddressSizeNative();
final subaddressAddressesPointer = subaddrressGetAllNative();
final subaddressAddresses = subaddressAddressesPointer.asTypedList(size);