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:
Olaoluwa Osuntokun committed 2017-12-06 16:43:00 -08:00
1 parent 3bc248e01c
commit 7b10f54216
1 file changed
+2
+2
View File
@@ -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: