Browse Source

channeld: fix cut & paste bug.

It's failed[i] we're dealing with, not fulfilled[i].

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
travis-debug
Rusty Russell 5 years ago
parent
commit
fe84d69022
  1. 2
      channeld/full_channel.c

2
channeld/full_channel.c

@ -1244,7 +1244,7 @@ bool channel_force_htlcs(struct channel *channel,
if (!htlc_has(htlc, HTLC_REMOVING)) {
status_broken("Fail %s HTLC %"PRIu64" state %s",
failed_sides[i] == LOCAL ? "out" : "in",
fulfilled[i].id,
failed[i]->id,
htlc_state_name(htlc->state));
return false;
}

Loading…
Cancel
Save