mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
contractcourt: remove TODO for checking double spends from PublishTx
This commit is contained in:
parent
3fd7f28b39
commit
2ae1b7dbbe
2 changed files with 0 additions and 2 deletions
|
@ -449,7 +449,6 @@ func (c *ChannelArbitrator) stateStep(bestHeight uint32, bestHash *chainhash.Has
|
|||
// At this point, we'll now broadcast the commitment
|
||||
// transaction itself.
|
||||
if err := c.cfg.PublishTx(closeTx); err != nil {
|
||||
// TODO(roasbeef): need to check for errors (duplicate)
|
||||
log.Errorf("ChannelArbitrator(%v): unable to broadcast "+
|
||||
"close tx: %v", c.cfg.ChanPoint, err)
|
||||
return StateError, closeTx, err
|
||||
|
|
|
@ -582,7 +582,6 @@ func (h *htlcSuccessResolver) Resolve() (ContractResolver, error) {
|
|||
//
|
||||
// TODO(roasbeef): after changing sighashes send to tx bundler
|
||||
if err := h.PublishTx(h.htlcResolution.SignedSuccessTx); err != nil {
|
||||
// TODO(roasbeef): detect double spends
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue