mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-16 20:34:21 +01:00
get_connection_by_scid() and update_to_pending() both do the same lookup which we did in handle_channel_update(). Do the lookup once, and simplify the others. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>