rgb-cln/wallet/test
Rusty Russell fc4d01cd9d db: put scids in forwards even if we didn't actually send.
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>
2020-02-12 22:27:57 -06:00
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30
run-db.c db: Track the data_version in the database 2020-01-02 14:12:59 -06:00
run-wallet.c db: put scids in forwards even if we didn't actually send. 2020-02-12 22:27:57 -06:00
test_utils.c Add enable-autotor-v2 config variable 2019-09-28 00:31:02 +02:00
test_utils.h fix: a pr2444 introduced valgrind complaint 2019-03-14 16:51:18 +01:00