daemon: broadcast transaction when fulfilling onchain.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-08-09 13:11:19 +09:30
parent 748f477508
commit 441d598dca

View File

@@ -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;
}
}