mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-17 16:31:06 +02:00
Before publishing the close tx to the network and commit to the StateCommitmentBroadcasted state, we mark the commitment as broadcasted and store it to the db. This ensures it will get re-published on startup if we go down.