(dst, label)
| 566 | rhash = inv['payment_hash'] |
| 567 | |
| 568 | def invoice_unpaid(dst, label): |
| 569 | invoices = dst.rpc.listinvoices(label)['invoices'] |
| 570 | return len(invoices) == 1 and invoices[0]['status'] == 'unpaid' |
| 571 | |
| 572 | routestep = { |
| 573 | 'amount_msat': amt, |
no test coverage detected