diff --git a/lntest/node/config.go b/lntest/node/config.go index 4fccbf6ab5..a0935bb3eb 100644 --- a/lntest/node/config.go +++ b/lntest/node/config.go @@ -233,7 +233,7 @@ func (cfg *BaseNodeConfig) GenArgs() []string { nodeArgs := []string{ "--nobootstrap", - "--debuglevel=debug,CRTR=trace", + "--debuglevel=debug,HSWC=trace", "--bitcoin.defaultchanconfs=1", "--accept-keysend", "--keep-failed-payment-attempts", diff --git a/routing/pathfind.go b/routing/pathfind.go index 43eae71036..b8d02c2bc7 100644 --- a/routing/pathfind.go +++ b/routing/pathfind.go @@ -227,6 +227,12 @@ func newRoute(sourceVertex route.Vertex, // doesn't support both TLV and payment addrs, fail. payAddr := supports(lnwire.PaymentAddrOptional) if !payAddr && finalHop.paymentAddr.IsSome() { + log.Debugf("Destination doesn't support "+ + "payment addr: edge=%v, payAddr=%v, "+ + "finalHopPayAddr=%v", + lnutils.SpewLogClosure(edge), payAddr, + finalHop.paymentAddr.IsSome()) + return nil, errors.New("cannot attach " + "payment addr") }