()
| 997 | } |
| 998 | |
| 999 | func (c *Chain) getLocalBPInfo() *blockProducerInfo { |
| 1000 | c.RLock() |
| 1001 | defer c.RUnlock() |
| 1002 | return c.localBPInfo |
| 1003 | } |
| 1004 | |
| 1005 | // getRemoteBPInfos remove this node from the peer list. |
| 1006 | func (c *Chain) getRemoteBPInfos() (remoteBPInfos []*blockProducerInfo) { |
no outgoing calls
no test coverage detected