Skip to content

Commit 5aed17b

Browse files
Update consensus.go
1 parent 1e3e2f6 commit 5aed17b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

controller/consensus.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ func (c *Controller) processQueue(startHeight, stopHeight uint64, queue map[uint
183183
c.P2P.ChangeReputation(req.message.Sender.Address.PublicKey, p2p.InvalidBlockRep)
184184
break
185185
}
186-
// unlock controller
187-
c.Unlock()
188186
// calculate and log the elapsed time
189187
elapsed := time.Since(start)
190188
c.log.Infof("Block %d sync complete. HandlePeerBlock took %s", height, elapsed)

0 commit comments

Comments
 (0)