Skip to content

Commit badc471

Browse files
committed
routing: fix blinded unit test
1 parent 1a99c62 commit badc471

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

routing/blinding_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ func TestBlindedPaymentToHints(t *testing.T) {
103103
)
104104
_, blindedPoint = btcec.PrivKeyFromBytes([]byte{5})
105105

106+
// We always need to set the TLV onion payload optional feature
107+
// because blinded paths require it.
106108
rawFeatures = lnwire.NewRawFeatureVector(
107109
lnwire.AMPOptional,
110+
lnwire.TLVOnionPayloadOptional,
108111
)
109112

110113
features = lnwire.NewFeatureVector(

0 commit comments

Comments
 (0)