Removed additional logs.

pull/4369/head
frozen 2 years ago committed by Casey Gardiner
parent d533d375e5
commit 6cfe6b32a1
  1. 4
      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 {

Loading…
Cancel
Save