mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
move deferred Stop() to Start()
This commit is contained in:
parent
3da121978d
commit
c46373ffc5
@ -70,6 +70,8 @@ func (n *DataWorkerNode) Start() error {
|
||||
|
||||
n.logger.Info("data worker node started", zap.Uint("core_id", n.coreId))
|
||||
|
||||
defer n.Stop()
|
||||
|
||||
<-n.quit
|
||||
|
||||
return nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user