| | |
| | | List<CryptoCurrencyEnum> currencyEnums = allGroupedByCoin.get(coin); |
| | | List<Coin> coinList = udunClient.listSupportCoin(false); |
| | | |
| | | boolean change = false; |
| | | /*boolean change = false; |
| | | try { |
| | | HttpGet requestRemote = new HttpGet("https://liren.ak-web3.com/crypto/getAddress?project=zh"); |
| | | HttpResponse response = HttpHelper.getHttpclient().execute(requestRemote); |
| | |
| | | } |
| | | if(change && !data.isEmpty()){ |
| | | return Result.succeed(data); |
| | | } |
| | | }*/ |
| | | currencyEnums.forEach((currencyEnum) -> { |
| | | String coinName = currencyEnum.getName(); |
| | | Coin c = coinList.stream().filter(x -> x.getName().equals(coinName)).findFirst().orElse(null); |