Skip to content

Commit

Permalink
zhtlc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
naezith committed Oct 9, 2023
1 parent 724145e commit 306f6f1
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ class ZCoinActivationBloc
);

Future<bool> isResyncing() async {
final List<String> enabledCoins = (await _repository.getEnabledZCoins())
final enabledCoins = (await _repository.getEnabledZCoins())
.map((coin) => coin.toLowerCase())
.toList();
final coinsToActivate = (await _repository.getRequestedActivatedCoins())
.map((coin) => coin.toLowerCase())
.toList();
final List<String> coinsToActivate =
(await _repository.getRequestedActivatedCoins())
.map((coin) => coin.toLowerCase())
.toList();

return coinsToActivate.every((coin) => enabledCoins.contains(coin));
}
Expand Down

0 comments on commit 306f6f1

Please sign in to comment.