-
Notifications
You must be signed in to change notification settings - Fork 324
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
add selfstake bucket index in candidate #1954
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1954 +/- ##
==========================================
- Coverage 58.65% 58.63% -0.03%
==========================================
Files 182 182
Lines 15320 15324 +4
==========================================
- Hits 8986 8985 -1
- Misses 5212 5216 +4
- Partials 1122 1123 +1
Continue to review full report at Codecov.
|
action/protocol/staking/candidate.go
Outdated
Reward: reward, | ||
Name: name, | ||
Votes: big.NewInt(0), | ||
SelfStakeIdx: selfStakeIdx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: move to end? so it is consistent with proto order
action/protocol/staking/candidate.go
Outdated
Reward address.Address | ||
Name string | ||
Votes *big.Int | ||
SelfStakeIdx uint64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SelfStateBucketIndex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 nit comment
No description provided.