Route from l1, l2 or l3 to l7
(src)
| 3247 | l5.pay(n, 10**9 // 2) |
| 3248 | |
| 3249 | def route_to_l7(src): |
| 3250 | """Route from l1, l2 or l3 to l7""" |
| 3251 | # We give extra CLTV on first hop, so we never break channel. |
| 3252 | return [{'id': l4.info['id'], 'channel': src.get_channel_scid(l4), 'amount_msat': "100002002msat", 'delay': 115}, |
| 3253 | {'id': l5.info['id'], 'channel': l4.get_channel_scid(l5), 'amount_msat': "100001001msat", 'delay': 15}, |
| 3254 | {'id': l7.info['id'], 'channel': l5.get_channel_scid(l7), 'amount_msat': "100000000msat", 'delay': 9}] |
| 3255 | |
| 3256 | def route_to_l1(src): |
| 3257 | """Route from l6 or l7 to l1""" |
no test coverage detected