From fe84d69022176b7be2e009c31ed7ae4893afb4e6 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 20 Jan 2020 15:42:27 +1030 Subject: [PATCH] channeld: fix cut & paste bug. It's failed[i] we're dealing with, not fulfilled[i]. Signed-off-by: Rusty Russell --- channeld/full_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channeld/full_channel.c b/channeld/full_channel.c index 7dc5c71e3..fc38bb827 100644 --- a/channeld/full_channel.c +++ b/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; }