mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
exclude zzec currency from simple swap (#516)
This commit is contained in:
parent
7e7217008c
commit
4279b82bca
1 changed files with 5 additions and 2 deletions
|
@ -17,8 +17,11 @@ class SimpleSwapExchangeProvider extends ExchangeProvider {
|
||||||
SimpleSwapExchangeProvider()
|
SimpleSwapExchangeProvider()
|
||||||
: super(
|
: super(
|
||||||
pairList: CryptoCurrency.all
|
pairList: CryptoCurrency.all
|
||||||
.map((i) =>
|
.where((i) => i != CryptoCurrency.zaddr)
|
||||||
CryptoCurrency.all.map((k) => ExchangePair(from: i, to: k, reverse: true)).where((c) => c != null))
|
.map((i) => CryptoCurrency.all
|
||||||
|
.where((i) => i != CryptoCurrency.zaddr)
|
||||||
|
.map((k) => ExchangePair(from: i, to: k, reverse: true))
|
||||||
|
.where((c) => c != null))
|
||||||
.expand((i) => i)
|
.expand((i) => i)
|
||||||
.toList());
|
.toList());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue