Commit e76a7a9
committed
pytest: fix flake in test_anchorspend_using_to_remote
Make sure all nodes see all channels:
```
2025-05-09T06:07:42.6214730Z > route = l1.rpc.getroute(l3.info['id'], amt, 1)['route']
2025-05-09T06:07:42.6215091Z
2025-05-09T06:07:42.6215239Z tests/test_closing.py:4199:
...
2025-05-09T06:07:42.6241237Z E pyln.client.lightning.RpcError: RPC call failed: method: getroute, payload: {'id': '035d2b1192dfba134e10e540875d366ebc8bc353d5aa766b80c090b39c3a5d885d', 'amount_msat': 100000000, 'riskfactor': 1, 'cltv': 9}, error: {'code': -32602, 'message': '035d2b1192dfba134e10e540875d366ebc8bc353d5aa766b80c090b39c3a5d885d: unknown destination node_id (no public channels?)'}
```
Signed-off-by: Rusty Russell <[email protected]>1 parent 65dccea commit e76a7a9
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4187 | 4187 | | |
4188 | 4188 | | |
4189 | 4189 | | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
4190 | 4193 | | |
4191 | | - | |
4192 | | - | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
4193 | 4202 | | |
4194 | 4203 | | |
4195 | 4204 | | |
| |||
4203 | 4212 | | |
4204 | 4213 | | |
4205 | 4214 | | |
4206 | | - | |
| 4215 | + | |
4207 | 4216 | | |
4208 | 4217 | | |
4209 | 4218 | | |
4210 | 4219 | | |
4211 | 4220 | | |
4212 | | - | |
| 4221 | + | |
4213 | 4222 | | |
4214 | 4223 | | |
4215 | 4224 | | |
| |||
0 commit comments