Skip to content

Commit

Permalink
zhtlc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
naezith authored and CharlVS committed Oct 10, 2023
1 parent dcb6de9 commit 097aa1e
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 097aa1e

Please sign in to comment.