code: func (c *ChtIndexerBackend) Commit() error {
  	root, err := c.trie.Commit(nil)
  	if err != nil {
  		return err
  	}
  	c.triedb.Commit(root, false)
  
  	log.Info("Storing CHT", "section", c.section, "head", fmt.Sprintf("%064x", c.lastHash), "root", fmt.Sprintf("%064x", root))
  	StoreChtRoot(c.diskdb, c.section, c.lastHash, root)
  	return nil
  }
docs: // Commit implements core.ChainIndexerBackend