Skip to content

Commit

Permalink
CryptoYa: Rename getARSBlueMarketData() to fetchArsBlueMarketData()
Browse files Browse the repository at this point in the history
alvasw committed Sep 1, 2023
1 parent 5190860 commit 722f886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/bisq/price/spot/providers/CryptoYa.java
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ public CryptoYa(Environment env) {
public Set<ExchangeRate> doGet() {
Set<ExchangeRate> result = new HashSet<>();
String key = "ARS";
Double rate = getARSBlueMarketData().averageBlueRate();
Double rate = fetchArsBlueMarketData().averageBlueRate();
if (rate > 0.0d) {
result.add(new ExchangeRate(
key,
@@ -68,7 +68,7 @@ public Set<ExchangeRate> doGet() {
return result;
}

private CryptoYaMarketData getARSBlueMarketData() {
private CryptoYaMarketData fetchArsBlueMarketData() {
return restTemplate.getForObject(CRYPTO_YA_BTC_ARS_API_URL, CryptoYaMarketData.class);
}
}

0 comments on commit 722f886

Please sign in to comment.