Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cc reporter #5

Merged
merged 2 commits into from
Jun 14, 2024
Merged

feat: add cc reporter #5

merged 2 commits into from
Jun 14, 2024

Conversation

irrun
Copy link
Collaborator

@irrun irrun commented Jun 13, 2024

No description provided.

cc/cc.go Outdated
log.Errorw("[cc] query self delegation error", "err", err)
}
for _, selfDelegation := range selfDelegations {
selfDelegationReward = selfDelegationReward.Add(selfDelegation.Amount)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is selfDelegation.Amount the reward for each day? Or do we need to calculate the diff to get the reward for each day?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@irrun irrun merged commit 4d4b64b into dev Jun 14, 2024
@irrun irrun deleted the cc-reporter branch July 11, 2024 02:09
@Asma1665
Copy link

I want a withdrawal plz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants