Skip to content
Snippets Groups Projects
Commit dfd67768 authored by Dariusz Kędzierski's avatar Dariusz Kędzierski
Browse files

Fix for empty cashout info list

parent 7c3cbbc2
No related branches found
No related tags found
5 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!16Dk issue 3 concurrent block query rebase,!15Dk issue 3 concurrent block query
......@@ -240,6 +240,7 @@ class Posts:
comment_pending_payouts = hived.get_comment_pending_payouts([[op['author'], op['permlink']]])
if comment_pending_payouts and 'cashout_info' in comment_pending_payouts[0]:
comment_pending_payouts = comment_pending_payouts[0]
sql = """UPDATE
hive_posts
SET
......@@ -403,6 +404,7 @@ class Posts:
comment_pending_payouts = hived.get_comment_pending_payouts([[op['author'], op['permlink']]])
if comment_pending_payouts and 'cashout_info' in comment_pending_payouts[0]:
comment_pending_payouts = comment_pending_payouts[0]
sql = """UPDATE
hive_posts
SET
......
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