Skip to content
Snippets Groups Projects
Commit 30537d90 authored by Bartek Wrona's avatar Bartek Wrona Committed by Mariusz Trela
Browse files

Eliminated reference to missing `is_paidout` member.

parent ad40e845
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,!61Issue #47 - test database_api get_payout_stats fail
...@@ -123,7 +123,7 @@ class Blocks: ...@@ -123,7 +123,7 @@ class Blocks:
vote_ops.append(vop) vote_ops.append(vop)
elif op_type == 'comment_payout_update_operation': elif op_type == 'comment_payout_update_operation':
key = "{}/{}".format(op_value['author'], op_value['permlink']) key = "{}/{}".format(op_value['author'], op_value['permlink'])
val = {'is_paidout':op_value['is_paidout']} val = {'is_paidout': True} # comment_payout_update_operation implicates is_paidout (is generated only when post is paidout)
if key is not None and val is not None: if key is not None and val is not None:
if key in comment_payout_ops: if key in comment_payout_ops:
......
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