Skip to content

Commit 9f2444e

Browse files
authored
Merge pull request #6992 from multiversx/fix-recursive-lock
Fix double rlock
2 parents 24219b2 + acdc30f commit 9f2444e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

consensus/spos/roundConsensus.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ func (rcns *roundConsensus) IsNodeInEligibleList(node string) bool {
189189
// ComputeSize method returns the number of messages received from the nodes belonging to the current jobDone group
190190
// related to this subround
191191
func (rcns *roundConsensus) ComputeSize(subroundId int) int {
192-
rcns.mut.RLock()
193-
defer rcns.mut.RUnlock()
194-
195192
n := 0
196193

197194
for i := 0; i < len(rcns.consensusGroup); i++ {

0 commit comments

Comments
 (0)