func (c *Chain) Height() int64 {
	c.lock.Lock()
	defer c.lock.Unlock()

	return int64(len(c.chain) - 1)
}
// Height returns the height of the chain.
Height returns the height of the chain.
// Height returns the height of the chain .
func (c *Chain) Height() int64 {
	c.lock.Lock()
	defer c.lock.Unlock()
	return int64(len(c.chain) - 1)
}
func ( c * Chain ) Height ( ) int64 { c . lock . Lock ( ) defer c . lock . Unlock ( ) return int64 ( len ( c . chain ) - 1 ) }
Height returns the height of the chain.
Height returns the height of the chain .