peer: in logWireMessage also unset curve field for lnwire.ChannelReestablish
This will allow users to run in trace mode again, without having an excessive amount of spam in their logs.
This commit is contained in:
parent
3bc248e01c
commit
7b10f54216
2
peer.go
2
peer.go
@ -922,6 +922,8 @@ func (p *peer) logWireMessage(msg lnwire.Message, read bool) {
|
||||
}))
|
||||
|
||||
switch m := msg.(type) {
|
||||
case *lnwire.ChannelReestablish:
|
||||
m.LocalUnrevokedCommitPoint.Curve = nil
|
||||
case *lnwire.RevokeAndAck:
|
||||
m.NextRevocationKey.Curve = nil
|
||||
case *lnwire.NodeAnnouncement:
|
||||
|
Loading…
Reference in New Issue
Block a user