Browse Source

daemon: broadcast transaction when fulfilling onchain.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
441d598dca
  1. 1
      daemon/peer.c

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

Loading…
Cancel
Save