mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
daemon: broadcast transaction when fulfilling onchain.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user