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

LNURL-pay drain #674

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

LNURL-pay drain #674

wants to merge 1 commit into from

Conversation

dangeross
Copy link
Collaborator

@dangeross dangeross commented Jan 17, 2025

Closes #559

Testing notes:

  • Drain the balance to a LNURL-pay or lightning address

@dangeross dangeross marked this pull request as ready for review January 27, 2025 08:32
Copy link
Contributor

@danielgranhao danielgranhao left a comment

Choose a reason for hiding this comment

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

Looks good. Left just a comment regarding the CLI

false => {
let prompt = format!(
"Amount to pay (min {} sat, max {} sat): ",
pd.min_sendable / 1000,
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be possible for the integer division by 1000 to result in a sat amount that is lower than the actual min?

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 LNURL-pay drain
2 participants