chainregistry: fix ActiveChains comment

This commit is contained in:
maurycy authored and Olaoluwa Osuntokun committed 2018-07-10 16:57:09 -07:00
1 parent d0d77f9718
commit ee65605495
1 file changed
+1 -1
+1 -1
View File
@@ -684,7 +684,7 @@ func (c *chainRegistry) PrimaryChain() chainCode {
return c.primaryChain return c.primaryChain
} }
// ActiveChains returns the total number of active chains. // ActiveChains returns a slice containing the active chains.
func (c *chainRegistry) ActiveChains() []chainCode { func (c *chainRegistry) ActiveChains() []chainCode {
c.RLock() c.RLock()
defer c.RUnlock() defer c.RUnlock()