mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
Fixed getting of subaddresses for current selected account
This commit is contained in:
parent
e46c653f3b
commit
7d78467437
2 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,8 @@ analyzer:
|
||||||
implicit-dynamic: false
|
implicit-dynamic: false
|
||||||
exclude:
|
exclude:
|
||||||
- "build/**"
|
- "build/**"
|
||||||
- "**/*.g.dart"
|
|
||||||
- "lib/generated/*.dart"
|
- "lib/generated/*.dart"
|
||||||
|
- "**.g.dart"
|
||||||
|
|
||||||
linter:
|
linter:
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -30,7 +30,6 @@ void refreshSubaddresses({int accountIndex}) =>
|
||||||
subaddressRefreshNative(accountIndex);
|
subaddressRefreshNative(accountIndex);
|
||||||
|
|
||||||
List<SubaddressRow> getAllSubaddresses() {
|
List<SubaddressRow> getAllSubaddresses() {
|
||||||
refreshSubaddresses(accountIndex: 0);
|
|
||||||
final size = subaddressSizeNative();
|
final size = subaddressSizeNative();
|
||||||
final subaddressAddressesPointer = subaddrressGetAllNative();
|
final subaddressAddressesPointer = subaddrressGetAllNative();
|
||||||
final subaddressAddresses = subaddressAddressesPointer.asTypedList(size);
|
final subaddressAddresses = subaddressAddressesPointer.asTypedList(size);
|
||||||
|
|
Loading…
Reference in a new issue