mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Engine: SyncTimeout can't be set (#438)
* Bittrex GetDepositHistory method return new DepositHistory struct type * Id field of DepositHistory type changed to int64 * check exchange (exist and enabled) before calling methods on, to avoid program crashes * Update bittrex_types.go * t2 * Program always uses the DefaultSyncerTimeout because c.SyncTimeout in engine/syncer.go newer set in code * gofmt file Co-authored-by: Ryan O'Hara-Reid <oharareid.ryan@gmail.com>
This commit is contained in:
@@ -418,6 +418,7 @@ func (e *Engine) Start() error {
|
||||
SyncContinuously: e.Settings.SyncContinuously,
|
||||
NumWorkers: e.Settings.SyncWorkers,
|
||||
Verbose: e.Settings.Verbose,
|
||||
SyncTimeout: e.Settings.SyncTimeout,
|
||||
}
|
||||
|
||||
e.ExchangeCurrencyPairManager, err = NewCurrencyPairSyncer(exchangeSyncCfg)
|
||||
|
||||
Reference in New Issue
Block a user