()
| 3589 | 'ONCHAIN:All outputs resolved: waiting 99 more blocks before forgetting channel']) |
| 3590 | |
| 3591 | def check_billboard(): |
| 3592 | billboard = only_one(l2.rpc.listpeerchannels(l1.info['id'])['channels'])['status'] |
| 3593 | return ( |
| 3594 | len(billboard) == 2 |
| 3595 | and billboard[0] == 'ONCHAIN:Tracking our own unilateral close' |
| 3596 | and re.fullmatch(r'ONCHAIN:.* outputs unresolved: in 4 blocks will spend DELAYED_OUTPUT_TO_US \(.*:.*\) using OUR_DELAYED_RETURN_TO_WALLET', billboard[1]) |
| 3597 | ) |
| 3598 | wait_for(check_billboard) |
| 3599 | |
| 3600 | # Now, mine 4 blocks so it sends out the spending tx. |
nothing calls this directly
no test coverage detected