Skip to content

Commit

Permalink
gemini: metainfo & currency['id']
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Jan 10, 2018
1 parent c19851a commit d1c3ee2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion js/gemini.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ module.exports = class gemini extends Exchange {
'countries': 'US',
'rateLimit': 1500, // 200 for private API
'version': 'v1',
// obsolete metainfo interface
'hasCORS': false,
'hasWithdraw': true,
// new metainfo interface
'has': {
'CORS': false,
'withdraw': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27816857-ce7be644-6096-11e7-82d6-3c257263229c.jpg',
'api': 'https://api.gemini.com',
Expand Down Expand Up @@ -194,7 +201,7 @@ module.exports = class gemini extends Exchange {
await this.loadMarkets ();
let currency = this.currency (code);
let response = await this.privatePostWithdrawCurrency (this.extend ({
'currency': currency,
'currency': currency['id'],
'amount': amount,
'address': address,
}, params));
Expand Down

0 comments on commit d1c3ee2

Please sign in to comment.