(dst, label)
| 504 | rhash = inv['payment_hash'] |
| 505 | |
| 506 | def invoice_unpaid(dst, label): |
| 507 | invoices = dst.rpc.listinvoices(label)['invoices'] |
| 508 | return len(invoices) == 1 and invoices[0]['status'] == 'unpaid' |
| 509 | |
| 510 | routestep = { |
| 511 | 'amount_msat': amt, |
no test coverage detected