chainregistry: fix ActiveChains comment

This commit is contained in:
maurycy 2018-05-23 20:43:50 +02:00 committed by Olaoluwa Osuntokun
parent d0d77f9718
commit ee65605495

@ -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()