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

selectProofsToSend returns less than the requested amount #233

Open
pablof7z opened this issue Jan 14, 2025 · 3 comments
Open

selectProofsToSend returns less than the requested amount #233

pablof7z opened this issue Jan 14, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@pablof7z
Copy link

I think this might be a bug, or maybe I'm misunderstanding the purpose of selectProofsToSend, but if I ask for x sats I would expect selectProofsToSend to not return less than that amount.

@Egge21M
Copy link
Collaborator

Egge21M commented Jan 21, 2025

That is right and looking at the implementation I can not see a bug. Could you please provide an example of where you see this happening?

@gandlafbtc
Copy link
Collaborator

I will take a look

@gandlafbtc
Copy link
Collaborator

I could also not reproduce the issue. This function is used in the send function too, without issues.

@pablof7z could you give an example on what problems you were facing? (And provide mint, amounts etc.)
My only theory is that it could have to do something with fees.

@gandlafbtc gandlafbtc added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants