(invoice, route, groupid, partid)
| 7105 | route8 = l1.single_route(inv["payee"], "8000sat") |
| 7106 | |
| 7107 | def pay_with_sendpay(invoice, route, groupid, partid): |
| 7108 | l1.rpc.sendpay( |
| 7109 | route=route, |
| 7110 | payment_hash=invoice["payment_hash"], |
| 7111 | payment_secret=invoice["payment_secret"], |
| 7112 | amount_msat=invoice["amount_msat"], |
| 7113 | groupid=groupid, |
| 7114 | partid=partid, |
| 7115 | ) |
| 7116 | |
| 7117 | def pay_with_sendonion(invoice, route, groupid, partid): |
| 7118 | blockheight = l1.rpc.getinfo()["blockheight"] |
no test coverage detected