]> git.bitcoin.ninja Git - rust-lightning/commit
Make temporary channel ids unique in full_stack_target 2019-07-fst-unique-channels
authorMatt Corallo <git@bluematt.me>
Mon, 29 Jul 2019 16:40:43 +0000 (12:40 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 29 Jul 2019 16:51:33 +0000 (12:51 -0400)
commite5c8f05891b8682682ca2edc81f7198699a970ed
treeab3f41a5b2626a24b52f3d7c5b803ae8c171ed92
parent2fd2fef7964fd525554a9472c1454fc84452af40
Make temporary channel ids unique in full_stack_target

This avoids a crash where a channel with a duplicate id is created
immediately after another is closed, where the other still has a
pending funding generation event. Resulting in funding generation
being passed to the wrong channel (which isn't in an appropriate
state).
fuzz/fuzz_targets/full_stack_target.rs