fixed wrong currency in FixPriceRateSource.
This commit is contained in:
parent
47d2fac2c8
commit
8413beb50e
|
@ -26,7 +26,7 @@ public class FixPriceRateSource implements IRateSource {
|
|||
|
||||
@Override
|
||||
public BigDecimal getExchangeRateLast(String cryptoCurrency, String fiatCurrency) {
|
||||
if (ICurrencies.ICG.equalsIgnoreCase(cryptoCurrency)) {
|
||||
if (ICurrencies.NBT.equalsIgnoreCase(cryptoCurrency)) {
|
||||
return rate;
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue