From 6cfe6b32a1c02406a990fe93cc0e30bb1f21adc0 Mon Sep 17 00:00:00 2001 From: frozen <355847+Frozen@users.noreply.github.com> Date: Wed, 2 Nov 2022 20:03:09 +0800 Subject: [PATCH] Removed additional logs. --- consensus/leader.go | 4 ---- 1 file changed, 4 deletions(-) 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 {