code: func dbRemoveTxIndexEntries(dbTx database.Tx, block *btcutil.Block) error {
  	for _, tx := range block.Transactions() {
  		err := dbRemoveTxIndexEntry(dbTx, tx.Hash())
  		if err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // dbRemoveTxIndexEntries uses an existing database transaction to remove the
  // latest transaction entry for every transaction in the passed block.