Skip to content

Commit

Permalink
Update pkg/monitoring/source_envelope.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Krage <[email protected]>
  • Loading branch information
aalu1418 and jmank88 authored Sep 16, 2024
1 parent 0a0da7d commit 5db1056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/monitoring/source_envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (s *envelopeSource) setJuelsPerLamport(v uint64) error {

func (s *envelopeSource) readJuelsPerLamport() uint64 {
s.lock.RLock()
s.lock.RUnlock()
defer s.lock.RUnlock()
return s.cacheJuelsPerLamport
}

Expand Down

0 comments on commit 5db1056

Please sign in to comment.