Skip to content
Snippets Groups Projects
Commit a849382f authored by Mariusz Trela's avatar Mariusz Trela
Browse files

The vop `ineffective_delete_comment_operation` is correctly processed

parent b6eb872d
No related branches found
No related tags found
4 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!86Post are removed correctly
...@@ -145,7 +145,7 @@ class SteemClient: ...@@ -145,7 +145,7 @@ class SteemClient:
def get_virtual_operations(self, block): def get_virtual_operations(self, block):
""" Get virtual ops from block """ """ Get virtual ops from block """
result = self.__exec('get_ops_in_block', {"block_num":block, "only_virtual":True}) result = self.__exec('get_ops_in_block', {"block_num":block, "only_virtual":True})
tracked_ops = ['author_reward_operation', 'comment_reward_operation', 'effective_comment_vote_operation', 'comment_payout_update_operation'] tracked_ops = ['author_reward_operation', 'comment_reward_operation', 'effective_comment_vote_operation', 'comment_payout_update_operation', 'ineffective_delete_comment_operation']
ret = [] ret = []
result = result['ops'] if 'ops' in result else [] result = result['ops'] if 'ops' in result else []
for vop in result: for vop in result:
...@@ -165,9 +165,10 @@ class SteemClient: ...@@ -165,9 +165,10 @@ class SteemClient:
comment_reward_operation = 0x000008 comment_reward_operation = 0x000008
effective_comment_vote_operation = 0x400000 effective_comment_vote_operation = 0x400000
comment_payout_update_operation = 0x000800 comment_payout_update_operation = 0x000800
ineffective_delete_comment_operation = 0x800000
tracked_ops_filter = author_reward_operation | comment_reward_operation | effective_comment_vote_operation | comment_payout_update_operation tracked_ops_filter = author_reward_operation | comment_reward_operation | effective_comment_vote_operation | comment_payout_update_operation | ineffective_delete_comment_operation
tracked_ops = ['author_reward_operation', 'comment_reward_operation', 'effective_comment_vote_operation', 'comment_payout_update_operation'] tracked_ops = ['author_reward_operation', 'comment_reward_operation', 'effective_comment_vote_operation', 'comment_payout_update_operation', 'ineffective_delete_comment_operation']
resume_on_operation = 0 resume_on_operation = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment