// ReceivedLength returns the number of received logs so far
ReceivedLength returns the number of received logs so far
// ReceivedLength returns the number of received logs so far
func (hl *HeightLogs) ReceivedLength() int {
	hl.mutex.RLock()
	defer hl.mutex.RUnlock()
	numReceived := 0
	for _, val := range hl.receivedLogsMap {
		if val {
			numReceived++
		}
	}
	return numReceived
}
func ( hl * HeightLogs ) ReceivedLength ( ) int { hl . mutex . RLock ( ) defer hl . mutex . RUnlock ( ) numReceived := 0 for _ , val := range hl . receivedLogsMap { if val { numReceived ++ } } return numReceived }
ReceivedLength returns the number of received logs so far
ReceivedLength returns the number of received logs so far