nutshell icon indicating copy to clipboard operation
nutshell copied to clipboard

Proof is spent when Lightning node has failed?

Open trbouma opened this issue 6 months ago • 1 comments

I've had this happen a couple of times where my Lightning is not online and a proof is attempted to be redeemed (melt request). It seems like the proof is set as spent first and then the lightning request fails. An error is raised, but in effect the proof is as good as gone.

I haven't yet dug into the code yet, but wondering if this an error condition that has been contemplated. Any insights before I dig in?

Thanks,

Tim

trbouma avatar Jun 27 '25 19:06 trbouma

IIRC with the new melt flow the notes should be set as "SPENT" only when we are certain the quote was paid, and set as "PENDING" if we are unsure about the quote status. Did you check if they are stuck as "PENDING"?

cloudsupper avatar Jul 07 '25 06:07 cloudsupper