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

[10.x] Re-enable proration #886

Merged
merged 1 commit into from
Feb 28, 2020
Merged

[10.x] Re-enable proration #886

merged 1 commit into from
Feb 28, 2020

Conversation

driesvints
Copy link
Member

Re-send of #717

This will allow to re-enable prorating when doing multiple swaps in one request. Also adds tests for proration.

Closes #647

@driesvints
Copy link
Member Author

@denvers I wasn't able to recover your commit unfortunately. But thanks for your work on this 👍

Btw I think you made a wrong assertion on the end of your original test where you expected an invoice of zero. I've updated the test to expect the correct -1000 value.

@taylorotwell taylorotwell merged commit c754391 into 10.0 Feb 28, 2020
@driesvints driesvints deleted the re-enable-proration branch February 28, 2020 20:11
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.

Add an Prorate() function to reverse the noProrate() function
2 participants