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

Withdraw rpc documentation #8099

Open
michaelWuensch opened this issue Feb 18, 2025 · 1 comment
Open

Withdraw rpc documentation #8099

michaelWuensch opened this issue Feb 18, 2025 · 1 comment

Comments

@michaelWuensch
Copy link

The withdraw documentation (https://docs.corelightning.org/reference/withdraw) does not explain what happens if "all" is used for satoshi AND utxos are provided.
Are the utxos ignored or are only all funds from the selected UTXOs sent?

Please clarify.

PS.
Same in the fundChannel rpc documentation.

@michaelWuensch
Copy link
Author

I just tested it, if UTXOs are supplied, it will only spent all the funds from the selected UTXOs, not all on-chain funds. This is true for fundChannel as well. Still it could be noted explicitly in the docs.

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

No branches or pull requests

1 participant