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

Mint: Can clnrest.py pay the same invoice twice? #569

Open
callebtc opened this issue Jul 5, 2024 · 1 comment
Open

Mint: Can clnrest.py pay the same invoice twice? #569

callebtc opened this issue Jul 5, 2024 · 1 comment
Labels
bug Something isn't working lightning Lightning network mint About the Nutshell mint

Comments

@callebtc
Copy link
Collaborator

callebtc commented Jul 5, 2024

Word on the street is that CLN's/v1/pay does not return an error if you try to pay the same invoice again. Before attempting a payment, we should first check if the payment already exists and only attempt a payment if it doesn't.

@callebtc callebtc added bug Something isn't working mint About the Nutshell mint lightning Lightning network labels Jul 5, 2024
@lollerfirst
Copy link
Contributor

lollerfirst commented Jul 20, 2024

Are there any instances where the mint could attempt to pay an invoice again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lightning Lightning network mint About the Nutshell mint
Projects
None yet
Development

No branches or pull requests

2 participants