Snapshots
This commit is contained in:
1 parent
e91125801d
commit
6368221937
75 files changed
+8943
-4332
No files matched your search
+3
-3
@@ -399,17 +399,17 @@ module.exports = class mercado extends Exchange {
|
||||
if (code === 'BRL') {
|
||||
const account_ref = ('account_ref' in params);
|
||||
if (!account_ref) {
|
||||
throw new ExchangeError (this.id + ' requires account_ref parameter to withdraw ' + code);
|
||||
throw new ArgumentsRequired (this.id + ' requires account_ref parameter to withdraw ' + code);
|
||||
}
|
||||
} else if (code !== 'LTC') {
|
||||
const tx_fee = ('tx_fee' in params);
|
||||
if (!tx_fee) {
|
||||
throw new ExchangeError (this.id + ' requires tx_fee parameter to withdraw ' + code);
|
||||
throw new ArgumentsRequired (this.id + ' requires tx_fee parameter to withdraw ' + code);
|
||||
}
|
||||
if (code === 'XRP') {
|
||||
if (tag === undefined) {
|
||||
if (!('destination_tag' in params)) {
|
||||
throw new ExchangeError (this.id + ' requires a tag argument or destination_tag parameter to withdraw ' + code);
|
||||
throw new ArgumentsRequired (this.id + ' requires a tag argument or destination_tag parameter to withdraw ' + code);
|
||||
}
|
||||
} else {
|
||||
request['destination_tag'] = tag;
|
||||
|
||||
Reference in new issue
Block a user