multi: switch to lock time from sequence for coop close v2

This commit is contained in:
Olaoluwa Osuntokun committed 2024-12-10 23:07:01 +01:00
1 parent 2decea86d8
commit 540d3c0fc7
5 files changed
+18 -41

No files matched your search

+7
View File
@@ -2275,6 +2275,13 @@ func messageSummary(msg lnwire.Message) string {
return fmt.Sprintf("chan_id=%v, script=%x", msg.ChannelID,
msg.Address[:])
case *lnwire.ClosingComplete:
return fmt.Sprintf("chan_id=%v, fee_sat=%v, locktime=%v",
msg.ChannelID, msg.FeeSatoshis, msg.LockTime)
case *lnwire.ClosingSig:
return fmt.Sprintf("chan_id=%v", msg.ChannelID)
case *lnwire.ClosingSigned:
return fmt.Sprintf("chan_id=%v, fee_sat=%v", msg.ChannelID,
msg.FeeSatoshis)