8000 Pay outlays by farscapian · Pull Request #77 · gudnuf/bolt12-prism · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Pay outlays #77

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

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Pay outlays #77

merged 4 commits into from
Apr 25, 2024

Conversation

farscapian
Copy link
Collaborator

This pull request fixes an issue where outlays were not used when setting the payment amount. This is fine for something like prism.pay, but for bindings, outlay values should be used for the payout amount.

Copy link
Owner
@gudnuf gudnuf left a comment

Choose a reason for hiding this comment

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

ack!

just had to make it so that Prism.pay had a default value of None rather than a type of None so that calling lightning-cli prism-pay ... would work

I tested with everyone online, and then with closing a channel and taking a peer offline.

One member accumulated an outlay, then when channel was back up, the outlay successfully cleared!

Ready to merge!

@gudnuf gudnuf merged commit 17fd532 into main Apr 25, 2024
@gudnuf gudnuf deleted the pay-outlays branch April 25, 2024 23:50
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
0