mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +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)
|
logrus.Infof("initializing converter %T ...", converter)
|
||||||
err := converter.Initialize()
|
err := converter.Initialize()
|
||||||
return nil, err
|
return converter, err
|
||||||
}
|
}
|
||||||
|
|
||||||
type ConverterManager struct {
|
type ConverterManager struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user