RootChainHeight() returns the height of the canopy root-chain
()
| 401 | |
| 402 | // RootChainHeight() returns the height of the canopy root-chain |
| 403 | func (c *Controller) RootChainHeight() uint64 { |
| 404 | chainId, _ := c.FSM.GetRootChainId() |
| 405 | return c.RCManager.GetHeight(chainId) |
| 406 | } |
| 407 | |
| 408 | // ChainHeight() returns the height of this target chain |
| 409 | func (c *Controller) ChainHeight() uint64 { return c.FSM.Height() } |
no test coverage detected