Low 28
AI analysis
EP
Elements ProjectCore Lightning
BitcoinLightning Network
lightningd: unreserve UTXOs from withheld funding PSBT when dropping channel
This fix ensures that when a user opens a 'zero-confirmation' channel whose funding transaction is deliberately withheld and then the channel is closed/aborted, any bitcoin inputs that had been set aside (reserved) for that funding transac…
Fixes a resource-availability / denial-of-service condition where wallet UTXOs remain unnecessarily reservedAdds explicit unreserve logic for a previously unhandled edge case (withheld funding PSBT)Includes a regression test asserting UTXO status after withheld close
05736f96by Peter Neuroth+24−02 files
No security note in commit