Commit c8bc0f9a authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update return value

parent 65fe7d2f
Pipeline #834 failed with stages
...@@ -76,8 +76,9 @@ func (e *Engine) InitPairs() { ...@@ -76,8 +76,9 @@ func (e *Engine) InitPairs() {
} }
} }
func (e *Engine) Start() { func (e *Engine) Start() (err error) {
e.InitPairs() e.InitPairs()
return
} }
func (e *Engine) NewPayload(params exchain.PayloadParams) (exchain.ExecutionResult, error) { func (e *Engine) NewPayload(params exchain.PayloadParams) (exchain.ExecutionResult, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment