Browse Source

unlock mutex

Abhishek Kondur 2 years ago
parent
commit
845bb33c68
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logic/extpeers.go

+ 1 - 0
logic/extpeers.go

@@ -21,6 +21,7 @@ func getAllExtClientsFromCache() (extClients []models.ExtClient) {
 	for _, extclient := range extClientCacheMap {
 		extClients = append(extClients, extclient)
 	}
+	extClientCacheMutex.RUnlock()
 	return
 }