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:
Vazha
2020-02-06 03:02:37 +02:00
committed by GitHub
parent 0a84c5d97a
commit 2e6ff1c398

View File

@@ -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)