mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
If the peer is not connected, or other error which means we don't actually create an outgoing HTLC, we don't record the short_channel_id. This is unhelpful! Pass the scid down to the wallet code, and explicitly hand the scid and amount down to the notification code rather than handing it the htlc_out (which it doesn't need). Changelog-Changed: JSON API: `listforwards` now shows `out_channel` even if we couldn't forward. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| run-db.c | ||
| run-wallet.c | ||
| test_utils.c | ||
| test_utils.h | ||