()
| 1605 | ) |
| 1606 | |
| 1607 | def fees_visible(): |
| 1608 | chans = l1.rpc.listchannels()["channels"] |
| 1609 | cheap = sum( |
| 1610 | 1 |
| 1611 | for c in chans |
| 1612 | if c["fee_per_millionth"] == cheap_feeppm |
| 1613 | and c["base_fee_millisatoshi"] == 0 |
| 1614 | ) |
| 1615 | pricey = sum(1 for c in chans if c["fee_per_millionth"] == pricey_feeppm) |
| 1616 | return cheap >= long_hops - 1 and pricey >= 1 |
| 1617 | |
| 1618 | wait_for(fees_visible) |
| 1619 |
nothing calls this directly
no test coverage detected