Skip to content

Commit ea1a7be

Browse files
committed
1 parent d9b5a7f commit ea1a7be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

digital-currency/bitcoin/src/main/java/org/javamoney/shelter/bitcoin/provider/BitcoinDeRateProvider.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public String code() {
7070

7171
private SupportedCurrency(String code) {
7272
this.currencyCode = code;
73-
7473
}
7574

7675
public static boolean isSupported(String newCurrency) {
@@ -80,7 +79,6 @@ public static boolean isSupported(String newCurrency) {
8079
return false;
8180
}
8281
return true;
83-
8482
}
8583
}
8684

@@ -156,7 +154,7 @@ void loadRate(String curCode, boolean verbose) {
156154
} catch (ParseException e) {
157155
LOGGER.warn("Warning", e);
158156
}
159-
if (verbose) System.out.println( "display_short : " +lastNode.path("display_short").getTextValue());
157+
if (verbose) System.out.println( "display_short : " +lastNode.path("rate_weighted").getTextValue());
160158
} else {
161159
throw new UnknownCurrencyException(curCode);
162160
}

0 commit comments

Comments
 (0)