core-lightning/gossipd/test
Rusty Russell 9c254c8387 gossipd: when we refresh channel, don't override pending updates.
We can have an update pending because it's too fast, but
refresh_local_channel is supposed to make sure we're up-to-date, so
force immediate application in that case.

Otherwise, we call update_local_channel at the bottom which frees the
pending update.  This can mean that we miss a change in fees, for example.

Changelog-Fixed: errors: Errors returning a `channel_update` no longer return an outdated one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-10-21 20:05:54 +02:00
..
.gitignore gossipd/test/run-bench-find_route: don't abort if we try to route to ourselves 2017-12-20 13:57:28 +01:00
Makefile common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
run-check_channel_announcement.c common/channel_type: wrapper for generated 'struct channel_type'. 2021-09-13 15:53:23 +02:00
run-check_node_announcement.c gossipd: when we refresh channel, don't override pending updates. 2021-10-21 20:05:54 +02:00
run-crc32_of_update.c gossipd: when we refresh channel, don't override pending updates. 2021-10-21 20:05:54 +02:00
run-extended-info.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
run-next_block_range.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
run-txout_failure.c common/channel_type: wrapper for generated 'struct channel_type'. 2021-09-13 15:53:23 +02:00