Snapshots
This commit is contained in:
1 parent
e91125801d
commit
6368221937
75 files changed
+8943
-4332
No files matched your search
+2
-2
@@ -3,7 +3,7 @@
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const Exchange = require ('./base/Exchange');
|
||||
const { ExchangeError, AuthenticationError } = require ('./base/errors');
|
||||
const { ExchangeError, AuthenticationError, ArgumentsRequired } = require ('./base/errors');
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -254,7 +254,7 @@ module.exports = class itbit extends Exchange {
|
||||
await this.loadMarkets ();
|
||||
const walletId = this.safeString (params, 'walletId');
|
||||
if (walletId === undefined) {
|
||||
throw new ExchangeError (this.id + ' fetchMyTrades requires a walletId parameter');
|
||||
throw new ArgumentsRequired (this.id + ' fetchMyTrades requires a walletId parameter');
|
||||
}
|
||||
const request = {
|
||||
'walletId': walletId,
|
||||
|
||||
Reference in new issue
Block a user