We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24219b2 + acdc30f commit 9f2444eCopy full SHA for 9f2444e
consensus/spos/roundConsensus.go
@@ -189,9 +189,6 @@ func (rcns *roundConsensus) IsNodeInEligibleList(node string) bool {
189
// ComputeSize method returns the number of messages received from the nodes belonging to the current jobDone group
190
// related to this subround
191
func (rcns *roundConsensus) ComputeSize(subroundId int) int {
192
- rcns.mut.RLock()
193
- defer rcns.mut.RUnlock()
194
-
195
n := 0
196
197
for i := 0; i < len(rcns.consensusGroup); i++ {
0 commit comments