()
| 2366 | q = queue.Queue() |
| 2367 | |
| 2368 | def try_pay(): |
| 2369 | try: |
| 2370 | l1.rpc.sendpay(route, rhash, payment_secret=inv['payment_secret']) |
| 2371 | l1.rpc.waitsendpay(rhash) |
| 2372 | q.put(None) |
| 2373 | except Exception as err: |
| 2374 | q.put(err) |
| 2375 | |
| 2376 | t = threading.Thread(target=try_pay) |
| 2377 | t.daemon = True |
nothing calls this directly
no test coverage detected