Post
Topic
Board Development & Technical Discussion
Topic OP
Closing a Lightning-Channel – Question
by
.crypto
on 24/01/2021, 07:51:53 UTC
There is something, I don‘t fully understand about closing a lightning-channel and I would like to ask you guys, for some help/clarification.

Lets assume the following situation: I open up a Lightning-Channel and load it with some Satoshi. After a while, I want to close that channel. Closing a LN channel requires an on-chain-transaction. Lets assume, exactly at that moment, there is a chain split. Two miners find a block at the same time. One miner adds my transaction to his block, the other doesn't. At this moment, I will see 1 confirmation of this transaction in my wallet, right? Lets assume, the other miner „wins“ at the end and the blockchain will be reorganized. This means, my transaction will go back to the mempool, right? So in my wallet, I will see this transaction as „unconfirmed“, I guess. Normally, my transaction will be included in one of the next blocks. But lets assume the TX fee was too low. I guess, then the TX will stay for a  certain time in the mempool but after some weeks will be wiped out. Does that mean the settlement transaction will be undone and the coins re-appear in my lightning channel?