Merge pull request #3075 from cfromknecht/crtr-nil-path-curves
routing/router: nil path pubkeys before spewing
This commit is contained in:
commit
6e0084fec9
@ -1440,7 +1440,11 @@ func generateSphinxPacket(rt *route.Route, paymentHash []byte,
|
||||
|
||||
log.Tracef("Constructed per-hop payloads for payment_hash=%x: %v",
|
||||
paymentHash[:], newLogClosure(func() string {
|
||||
return spew.Sdump(sphinxPath[:sphinxPath.TrueRouteLength()])
|
||||
path := sphinxPath[:sphinxPath.TrueRouteLength()]
|
||||
for i := range path {
|
||||
path[i].NodePub.Curve = nil
|
||||
}
|
||||
return spew.Sdump(path)
|
||||
}),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user