Skip to content

Commit

Permalink
daemon: broadcast transaction when fulfilling onchain.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Aug 9, 2016
1 parent 748f477 commit 441d598
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/peer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 441d598

Please sign in to comment.