(n1, n2)
| 3897 | wait_for(lambda: len(l1.rpc.listchannels()['channels']) == 6) |
| 3898 | |
| 3899 | def spendable(n1, n2): |
| 3900 | chan = n1.rpc.listpeerchannels(n2.info['id'])['channels'][0] |
| 3901 | avail = chan['spendable_msat'] |
| 3902 | return Millisatoshi(avail) |
| 3903 | |
| 3904 | amt = Millisatoshi(10**8) |
| 3905 | # How many payments do we expect to go through directly? |
no test coverage detected