File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5679,6 +5679,7 @@ def test_blindedpath_privchan(node_factory, bitcoind):
5679
5679
l1 .rpc .pay (inv ['invoice' ])
5680
5680
5681
5681
5682
+ @pytest .mark .xfail (strict = True )
5682
5683
def test_blindedpath_noaddr (node_factory , bitcoind ):
5683
5684
l1 , l2 = node_factory .line_graph (2 , wait_for_announce = True ,
5684
5685
opts = {'dev-allow-localhost' : None })
@@ -5697,6 +5698,11 @@ def test_blindedpath_noaddr(node_factory, bitcoind):
5697
5698
offer = l2 .rpc .offer (1000 , 'test_pay_blindedpath_nodeaddr' )
5698
5699
assert 'offer_paths' not in l1 .rpc .decode (offer ['bolt12' ])
5699
5700
5701
+ # If l2 is disconnected, l3 will *not* add a blinded path.
5702
+ l2 .rpc .disconnect (l3 .info ['id' ], force = True )
5703
+ offer = l3 .rpc .offer (1000 , 'test_pay_blindedpath_nodeaddr2' )
5704
+ assert 'offer_paths' not in l1 .rpc .decode (offer ['bolt12' ])
5705
+
5700
5706
5701
5707
def test_blinded_reply_path_scid (node_factory ):
5702
5708
"""Check that we handle a blinded path which begins with a scid instead of a nodeid"""
You can’t perform that action at this time.
0 commit comments