What is a commitment transaction?
In Lightning, each successful payment is represented by a valid and signed Bitcoin transaction that reflects how the funds locked in the funding transaction are currently distributed between the channel partners. This transaction is known as a commitment transaction.