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

fix #3237 14 week powerdown #3292

Merged
merged 5 commits into from
May 9, 2019
Merged

fix #3237 14 week powerdown #3292

merged 5 commits into from
May 9, 2019

Conversation

mvandeberg
Copy link
Contributor

Closes #3237
Local PR for #3238

Fixes build problems, updates tests, and corrects implementation.

economicstudio and others added 4 commits January 23, 2019 14:58
Fix #3237

- Floor -> Ceil
- Combine the zero new_vesting_withdraw_rate case.
add hardfork check
@mvandeberg mvandeberg requested a review from sgerbino May 7, 2019 15:58
@@ -1177,7 +1177,12 @@ void withdraw_vesting_evaluator::do_apply( const withdraw_vesting_operation& o )
auto new_vesting_withdraw_rate = asset( o.vesting_shares.amount / vesting_withdraw_intervals, VESTS_SYMBOL );

if( new_vesting_withdraw_rate.amount == 0 )
new_vesting_withdraw_rate.amount = 1;
new_vesting_withdraw_rate.amount = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Spacing

@mvandeberg mvandeberg merged commit 792905e into master May 9, 2019
@mvandeberg mvandeberg deleted the 3238-PR branch May 9, 2019 13:52
@economicstudio
Copy link
Contributor

@mvandeberg @sgerbino Thanks a lot again!

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.

Powerdown can't finish in 13 weeks.
3 participants