chainregistry: fix ActiveChains
comment
This commit is contained in:
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user