mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
Merge pull request #5 from cake-tech/CWA-154-account-bug
Fixed getting of subaddresses for current selected account
This commit is contained in:
commit
42abddcf98
2 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,8 @@ analyzer:
|
|||
implicit-dynamic: false
|
||||
exclude:
|
||||
- "build/**"
|
||||
- "**/*.g.dart"
|
||||
- "lib/generated/*.dart"
|
||||
- "**.g.dart"
|
||||
|
||||
linter:
|
||||
rules:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue