Skip to content

Commit

Permalink
remove improper defer
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Feb 11, 2025
1 parent 7bf2b24 commit 554398d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/block/baseProcess.go
Original file line number Diff line number Diff line change
Expand Up @@ -2403,7 +2403,7 @@ func (bp *baseProcessor) checkReceivedHeaderAndUpdateMissingAttesting(headerHand

bp.mutRequestedAttestingNoncesMap.RLock()
isWaitingForProofs := len(bp.requestedAttestingNoncesMap) > 0
defer bp.mutRequestedAttestingNoncesMap.RUnlock()
bp.mutRequestedAttestingNoncesMap.RUnlock()
if !isWaitingForProofs {
return
}
Expand Down

0 comments on commit 554398d

Please sign in to comment.