Commit fb0f62e
CI: fix flake in test_penalty_htlc_tx_timeout
Make sure l1 sees the l5 channel!
```
2025-04-29T02:39:42.1086397Z # now we send two 'sticky' htlcs, l1->l5 + l4->l1
2025-04-29T02:39:42.1086837Z amt = 10**8 // 2
2025-04-29T02:39:42.1087231Z sticky_inv_1 = l5.rpc.invoice(amt, '2', 'sticky')
2025-04-29T02:39:42.1087767Z > route = l1.rpc.getroute(l5.info['id'], amt, 1)['route']
2025-04-29T02:39:42.1088126Z
2025-04-29T02:39:42.1088279Z tests/test_closing.py:1432:
...
2025-04-29T02:39:42.1111693Z elif "error" in resp:
2025-04-29T02:39:42.1111976Z > raise RpcError(method, payload, resp['error'])
2025-04-29T02:39:42.1113258Z E pyln.client.lightning.RpcError: RPC call failed: method: getroute, payload: {'id': '032cf15d1ad9c4a08d26eab1918f732d8ef8fdc6abb9640bf3db174372c491304e', 'amount_msat': 50000000, 'riskfactor': 1, 'cltv': 9}, error: {'code': -32602, 'message': '032cf15d1ad9c4a08d26eab1918f732d8ef8fdc6abb9640bf3db174372c491304e: unknown destination node_id (no public channels?)'}
```
Signed-off-by: Rusty Russell <[email protected]>1 parent 099a7ec commit fb0f62e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
1418 | | - | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1419 | 1423 | | |
1420 | 1424 | | |
1421 | 1425 | | |
| |||
0 commit comments