From d72db7b3bf37faa474ffb25848928866a76e0c84 Mon Sep 17 00:00:00 2001
From: mtrela <mtrela@syncad.com>
Date: Thu, 30 Jul 2020 12:49:06 +0200
Subject: [PATCH] Improved stats calculations

---
 hive/indexer/blocks.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hive/indexer/blocks.py b/hive/indexer/blocks.py
index a8abd44b9..a030a0feb 100644
--- a/hive/indexer/blocks.py
+++ b/hive/indexer/blocks.py
@@ -245,12 +245,6 @@ class Blocks:
 
         for k, v in vote_ops.items():
             Votes.effective_comment_vote_op(v, cls._head_block_date)
-            op_type = 'effective_comment_vote_operation'
-            if op_type in cls.ops_stats:
-                cls.ops_stats[op_type] += 1
-            else:
-                cls.ops_stats[op_type] = 1
-
 
         if comment_payout_ops:
             comment_payout_stats = Posts.comment_payout_op(comment_payout_ops, cls._head_block_date)
-- 
GitLab