-
Notifications
You must be signed in to change notification settings - Fork 159
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
Update Reward actor to new spec #480
Conversation
self.reward_map = rewards.root()?; | ||
self.reward_total -= &withdrawable_sum; | ||
Ok(withdrawable_sum) | ||
pub(super) fn get_effective_network_time( |
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.
I don't think it matters but get_effective_network_time
looks to exist in the actor implementation rather than the state.
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.
it does, but I chose not to follow here, as it's much cleaner this way
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.
made 0 sense to me why they had it the way they did
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #459
Other information and links