get10101 / 10101-PoC

The world needs more Lightning!
MIT License
17 stars 3 forks source link

Update on-chain balance immediately after channel closure #509

Closed luckysori closed 1 year ago

luckysori commented 1 year ago

Fixes #461.

The coins are correctly moved to a pending state, like we do with any other on-chain transaction.

The user is also informed about what to expect when closing the channel.

It's important to note that if the user runs into a force-closure for some other reason, the coins will also go into a pending state and be reflected in the overall on-chain balance, but it will take hundreds of confirmations for the coins to be confirmed.

image

luckysori commented 1 year ago

bors r+

bors[bot] commented 1 year ago

Build succeeded: