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

pyln: extend msat floating testcases #4246

Merged

Conversation

m-schmoock
Copy link
Collaborator

@m-schmoock m-schmoock commented Dec 2, 2020

I was rethinking PR #4237 and discovered that we are not done yet.

This adds two more xfail'ing testcases to show that the current way of
parsing Millisatoshi decimals is not yet optimal.

Testcases: test_round_zero and test_round_down fail.

Changelog-None

Copy link
Member

@cdecker cdecker left a comment

Choose a reason for hiding this comment

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

ACK b814575

contrib/pyln-client/pyln/client/lightning.py Outdated Show resolved Hide resolved
contrib/pyln-client/tests/test_units.py Outdated Show resolved Hide resolved
This adds two more xfail'ing testcases to show that the current way of
parsing Millisatoshi decimals is not yet optimal.

Changelog-None
@cdecker
Copy link
Member

cdecker commented Dec 7, 2020

ACK 2486aab

@cdecker cdecker merged commit 3622849 into ElementsProject:master Dec 8, 2020
@m-schmoock m-schmoock deleted the pyln/fix_millisatoshi_floats branch December 12, 2020 13:34
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.

2 participants