From 441d598dcac7bd3310a320f097824809d6c0c6e4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 9 Aug 2016 13:11:19 +0930 Subject: [PATCH] daemon: broadcast transaction when fulfilling onchain. Signed-off-by: Rusty Russell --- daemon/peer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/peer.c b/daemon/peer.c index cce45c38b..8f20bbb77 100644 --- a/daemon/peer.c +++ b/daemon/peer.c @@ -668,6 +668,7 @@ static bool fulfill_onchain(struct peer *peer, struct htlc *htlc) return false; peer->closing_onchain.resolved[i] = htlc_fulfill_tx(peer, ci, i); + broadcast_tx(peer, peer->closing_onchain.resolved[i]); return true; } }