mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +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