Merge pull request #2449 from cfromknecht/router-avoid-naked-spew

routing/router: avoid naked spew of channel policies
This commit is contained in:
Olaoluwa Osuntokun 2019-01-10 12:44:38 -08:00 committed by GitHub
commit 9f7d2f6cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")