(invoice, route, groupid, partid)
| 7033 | route8 = l1.single_route(inv["payee"], "8000sat") |
| 7034 | |
| 7035 | def pay_with_sendpay(invoice, route, groupid, partid): |
| 7036 | l1.rpc.sendpay( |
| 7037 | route=route, |
| 7038 | payment_hash=invoice["payment_hash"], |
| 7039 | payment_secret=invoice["payment_secret"], |
| 7040 | amount_msat=invoice["amount_msat"], |
| 7041 | groupid=groupid, |
| 7042 | partid=partid, |
| 7043 | ) |
| 7044 | |
| 7045 | def pay_with_sendonion(invoice, route, groupid, partid): |
| 7046 | blockheight = l1.rpc.getinfo()["blockheight"] |
no test coverage detected