Browse Source
If we send an HTLC #1, then get disconnected before a confirm, we will forget it. But we've incremented peer->htlc_id_counter, so when we offer it again we'll make it HTLC #2, which is non-consecutive. To make this clear, we always start htlc ids at 0 now. That revealed the bugs handled in the previous patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
1 changed files with 15 additions and 4 deletions
Loading…
Reference in new issue