Check that we handle a blinded path which begins with a scid instead of a nodeid
(node_factory)
| 5940 | |
| 5941 | |
| 5942 | def test_blinded_reply_path_scid(node_factory): |
| 5943 | """Check that we handle a blinded path which begins with a scid instead of a nodeid""" |
| 5944 | l1, l2 = node_factory.line_graph(2, wait_for_announce=True) |
| 5945 | offer = l2.rpc.offer(amount='2msat', description='test_blinded_reply_path_scid') |
| 5946 | |
| 5947 | chan = only_one(l1.rpc.listpeerchannels()['channels']) |
| 5948 | scidd = "{}/{}".format(chan['short_channel_id'], chan['direction']) |
| 5949 | inv = l1.rpc.call('fetchinvoice', {'offer': offer['bolt12'], 'dev_path_use_scidd': scidd})['invoice'] |
| 5950 | |
| 5951 | l1.rpc.pay(inv) |
| 5952 | |
| 5953 | |
| 5954 | def test_pay_while_opening_channel(node_factory, bitcoind, executor): |
nothing calls this directly
no test coverage detected