Skip to content

Commit

Permalink
anxpro php newlines fix #2949
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 25, 2018
1 parent c9221d0 commit b4031b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/anxpro.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ module.exports = class anxpro extends Exchange {
let nonce = this.nonce ();
body = this.urlencode (this.extend ({ 'nonce': nonce }, query));
let secret = this.base64ToBinary (this.secret);
let auth = request + '\0' + body;
// eslint-disable-next-line quotes
let auth = request + "\0" + body;
let signature = this.hmac (this.encode (auth), secret, 'sha512', 'base64');
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
Expand Down

0 comments on commit b4031b3

Please sign in to comment.