btcchina
btcchina copied to clipboard
_tradeRequest function makes error when requests sellOrder2
The line 112 should be updated as below:
var qs = querystring.stringify(args).replace(/~/g, ',');
Instead of :
var qs = querystring.stringify(args).replace('~', ',');
Because the replace function only replace the first ~ of the string. Please check and fix if I'm correct.
Regards