Skip to content

Commit

Permalink
coinbase python bytes/str fix #3050
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jun 6, 2018
1 parent 12fb141 commit 8556f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/coinbase.js
Expand Up @@ -181,7 +181,7 @@ module.exports = class coinbase extends Exchange {
}
}
let what = nonce + method + '/' + this.version + request + payload;
let signature = this.hmac (this.encode (what), this.secret);
let signature = this.hmac (this.encode (what), this.encode (this.secret));
headers = {
'CB-ACCESS-KEY': this.apiKey,
'CB-ACCESS-SIGN': this.decode (signature),
Expand Down

0 comments on commit 8556f47

Please sign in to comment.