peer: add message summary for lnwire.ChannelReestablish
This commit is contained in:
parent
1d6e5ad1ef
commit
150ab00842
4
peer.go
4
peer.go
@ -892,6 +892,10 @@ func messageSummary(msg lnwire.Message) string {
|
|||||||
case *lnwire.UpdateFee:
|
case *lnwire.UpdateFee:
|
||||||
return fmt.Sprintf("chan_id=%v, fee_update_sat=%v",
|
return fmt.Sprintf("chan_id=%v, fee_update_sat=%v",
|
||||||
msg.ChanID, int64(msg.FeePerKw))
|
msg.ChanID, int64(msg.FeePerKw))
|
||||||
|
|
||||||
|
case *lnwire.ChannelReestablish:
|
||||||
|
return fmt.Sprintf("next_local_height=%v, remote_tail_height=%v",
|
||||||
|
msg.NextLocalCommitHeight, msg.RemoteCommitTailHeight)
|
||||||
}
|
}
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
Loading…
Reference in New Issue
Block a user