mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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>
This commit is contained in:
@@ -1244,7 +1244,7 @@ bool channel_force_htlcs(struct channel *channel,
|
|||||||
if (!htlc_has(htlc, HTLC_REMOVING)) {
|
if (!htlc_has(htlc, HTLC_REMOVING)) {
|
||||||
status_broken("Fail %s HTLC %"PRIu64" state %s",
|
status_broken("Fail %s HTLC %"PRIu64" state %s",
|
||||||
failed_sides[i] == LOCAL ? "out" : "in",
|
failed_sides[i] == LOCAL ? "out" : "in",
|
||||||
fulfilled[i].id,
|
failed[i]->id,
|
||||||
htlc_state_name(htlc->state));
|
htlc_state_name(htlc->state));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user