cnct/contract_resolvers: ignore duplicate publication error
This commit is contained in:
parent
682c4c96c7
commit
f957b78c0b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user