(line)
| 1622 | return len(mids[-1].rpc.listforwards(status="settled")["forwards"]) |
| 1623 | |
| 1624 | def budget_of(line): |
| 1625 | return int(re.search(r"onion budget is ([0-9]+)\.", line).group(1)) |
| 1626 | |
| 1627 | # payment_log prints "N: onion budget is X." A second copy of the same |
| 1628 | # line is also forwarded as a notify, so match the numbered one only. |
no outgoing calls
no test coverage detected