Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Commits
30537d90
Commit
30537d90
authored
4 years ago
by
Bartek Wrona
Committed by
Mariusz Trela
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Eliminated reference to missing `is_paidout` member.
parent
ad40e845
No related branches found
No related tags found
4 merge requests
!456
Release candidate v1 24
,
!230
Setup monitoring with pghero
,
!135
Enable postgres monitoring on CI server
,
!61
Issue #47 - test database_api get_payout_stats fail
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hive/indexer/blocks.py
+1
-1
1 addition, 1 deletion
hive/indexer/blocks.py
with
1 addition
and
1 deletion
hive/indexer/blocks.py
+
1
−
1
View file @
30537d90
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment