(n)
| 1936 | mined_blockid = bitcoind.rpc.getblockhash(bitcoind.rpc.getblockcount()) |
| 1937 | |
| 1938 | def promoted(n): |
| 1939 | chan = only_one(n.rpc.listpeerchannels()['channels']) |
| 1940 | return chan.get('short_channel_id') is not None |
| 1941 | |
| 1942 | wait_for(lambda: promoted(l2)) |
| 1943 | l2.stop() |
no test coverage detected