Skip to content

Commit

Permalink
Merge pull request #32 from cp-yoonjin/dev-0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-khs authored Feb 24, 2023
2 parents 5bb15b9 + 269b344 commit 8164f3c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions wemix/etcdutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,6 @@ func (ma *wemixAdmin) etcdAutoJoin() error {
<-etcdAutoJoinLock
}()

// boot node
if ma.nodeInfo != nil && ma.nodeInfo.ID == ma.bootNodeId {
etcdLock.Lock()
defer etcdLock.Unlock()
return ma.etcdInit()
}

// collect miners that haven't joined the etcd network yet
var sz, gap, ix int64
if states := getMiners("", 0); len(states) > 0 {
Expand Down

0 comments on commit 8164f3c

Please sign in to comment.