diff --git a/consensus/leader.go b/consensus/leader.go index 422508762..6b176d27a 100644 --- a/consensus/leader.go +++ b/consensus/leader.go @@ -26,12 +26,8 @@ func (consensus *Consensus) announce(block *types.Block) { return } - //// Lock Write - Start - consensus.mutex.Lock() copy(consensus.blockHash[:], blockHash[:]) consensus.block = encodedBlock // Must set block bytes before consensus.construct() - consensus.mutex.Unlock() - //// Lock Write - End key, err := consensus.GetConsensusLeaderPrivateKey() if err != nil {