Skip to content

Commit

Permalink
default value set on acls
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Nov 8, 2024
1 parent a964d2b commit a7ccf13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion logic/acls/nodeacls/retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ var NodesAllowedACLMutex = &sync.Mutex{}

// AreNodesAllowed - checks if nodes are allowed to communicate in their network ACL
func AreNodesAllowed(networkID NetworkID, node1, node2 NodeID) bool {
return true
NodesAllowedACLMutex.Lock()
defer NodesAllowedACLMutex.Unlock()
var currentNetworkACL, err = FetchAllACLs(networkID)
Expand Down

0 comments on commit a7ccf13

Please sign in to comment.