rgb-cln/channeld
Rusty Russell 425143646c channeld: fix dev_disconnect.
I noted a spurious failure on test_reconnect_sender_add1: we
actually sent an update_commit, which should have been suppressed.

This was because we call dev_disconnect() when we *dequeue* the packet,
which might be too late to suppress the timer.  So instead, call it
when the packet in enqueued, and flush synchronously to make sure
we get the right packet.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-21 09:13:28 +01:00
..
test Remove redundant code 2017-12-11 03:38:37 +00:00
Makefile fromwire_bitcoin_tx: quieten leak reporting. 2017-12-20 12:43:10 +01:00
channel.c channeld: fix dev_disconnect. 2017-12-21 09:13:28 +01:00
channel_wire.csv channel: Directly send announcements and updates to gossipd 2017-12-17 02:44:20 +00:00
channeld_htlc.h channeld: save shared secret for incoming htlc when it comes in. 2017-12-02 12:54:12 +01:00
commit_tx.c feerate: use u32 everywhere. 2017-11-23 12:40:32 +01:00
commit_tx.h feerate: use u32 everywhere. 2017-11-23 12:40:32 +01:00
full_channel.c Avoid NULL pointer dereference when new_initial_channel(...) fails 2017-12-09 16:25:57 +01:00
full_channel.h channeld: return htlc from channel_add_htlc and channel_fail_htlc. 2017-12-02 12:54:12 +01:00