diff --git a/routing/router.go b/routing/router.go index 5ca73e8b7..95b00daa2 100644 --- a/routing/router.go +++ b/routing/router.go @@ -1405,7 +1405,11 @@ func generateSphinxPacket(rt *route.Route, paymentHash []byte) ([]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) }), )