Skip to content

Commit

Permalink
Removed hardcoded data all available through api
Browse files Browse the repository at this point in the history
  • Loading branch information
amjad1210 committed Apr 14, 2018
1 parent 720f606 commit c6f9b83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1,171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ private static Map<Currency, CurrencyMetaData> adaptCurrencyMap(List<KucoinCoin>
}

private static CurrencyMetaData adaptCurrencyMetadata(KucoinCoin coin) {

// Unfortunately the scale for the wallet is not available in the API, take 8 by default
return new CurrencyMetaData(8, coin.getWithdrawMinFee());
return new CurrencyMetaData(coin.getTradePrecision(), coin.getWithdrawMinFee());
}

private static Map<CurrencyPair, CurrencyPairMetaData> adaptCurrencyPairMap(
Expand Down
Loading

0 comments on commit c6f9b83

Please sign in to comment.