Skip to content

Commit

Permalink
CryptoYaTicker: Switch to primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Sep 1, 2023
1 parent a50571f commit 555811b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class CryptoYaMarketData {
private CryptoYaTicker binance;

public OptionalDouble averagedArsBlueRateFromLast24Hours() {
Long yesterdayTimestamp = Instant.now()
long yesterdayTimestamp = Instant.now()
.minus(1, ChronoUnit.DAYS)
.getEpochSecond();

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/bisq/price/util/cryptoya/CryptoYaTicker.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
@Setter
public class CryptoYaTicker {

private Double ask;
private double ask;

private Double totalAsk;
private double totalAsk;

private Double bid;
private double bid;

private Double totalBid;
private double totalBid;

private long time;

Expand Down

0 comments on commit 555811b

Please sign in to comment.