nutshell icon indicating copy to clipboard operation
nutshell copied to clipboard

bug: melt quote state updates don't include change

Open gudnuf opened this issue 5 months ago • 2 comments

This seems to be an issue with v0.17, but not on testnut which is running v0.16. This is a critical bug because if a wallet relies on websockets for handling PAID melt quote, then all the change will be lost.

I receive this melt quote state update which does not include change:

Image

The melt response correctly includes change, but the state updates for websockets should also include change if it exists:

Image

gudnuf avatar Jul 16 '25 12:07 gudnuf

I noticed that when using web sockets, paid message is sent twice. First with change being null and then with the change set. I used lnvoltz mint that is running "Nutshell/0.17.0"

jbojcic1 avatar Sep 07 '25 20:09 jbojcic1

@gudnuf Mind pulling the branch of this PR and trying reproduce the problem again?

cloudsupper avatar Sep 16 '25 22:09 cloudsupper