binance / binance-connector-java

Simple Java connector to Binance Spot API
MIT License
399 stars 173 forks source link

Changes to handle List parameter in UrlBuilder #120

Closed jeet427 closed 1 month ago

jeet427 commented 3 months ago

When you need to pass an argument of List type, for example in Wallet class for com.koinbasket.common.binance.Wallet#dustTransfer, the UrlBuilder does not work properly. It has only handling for Double type and in else block it considers everything to work with toString. In case of list argument it forms bad value for the parameter.

This PR fixes: https://github.com/binance/binance-connector-java/issues/119