routing/router: avoid naked spew of channel policies

This commit is contained in:
Conner Fromknecht 2019-01-09 23:54:41 -08:00
parent a8b2c093aa
commit a5b22788bf
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -1211,7 +1211,8 @@ func (r *ChannelRouter) processUpdate(msg interface{}) error {
}
invalidateCache = true
log.Tracef("New channel update applied: %v", spew.Sdump(msg))
log.Tracef("New channel update applied: %v",
newLogClosure(func() string { return spew.Sdump(msg) }))
default:
return errors.Errorf("wrong routing update message type")