cnct/contract_resolvers: ignore duplicate publication error

This commit is contained in:
Conner Fromknecht 2018-09-18 00:37:14 -07:00
parent 682c4c96c7
commit f957b78c0b
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -535,7 +535,8 @@ func (h *htlcSuccessResolver) Resolve() (ContractResolver, error) {
// the claiming process.
//
// TODO(roasbeef): after changing sighashes send to tx bundler
if err := h.PublishTx(h.htlcResolution.SignedSuccessTx); err != nil {
err := h.PublishTx(h.htlcResolution.SignedSuccessTx)
if err != nil && err != lnwallet.ErrDoubleSpend {
return nil, err
}