mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-07 14:29:33 +01:00
fc4d01cd9d
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 |