mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
core: fix InitializeConverter return value
This commit is contained in:
parent
3d7453f18c
commit
52abb9193d
|
@ -32,7 +32,7 @@ func (s *ConverterSetting) InitializeConverter() (Converter, error) {
|
|||
|
||||
logrus.Infof("initializing converter %T ...", converter)
|
||||
err := converter.Initialize()
|
||||
return nil, err
|
||||
return converter, err
|
||||
}
|
||||
|
||||
type ConverterManager struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user