diff --git a/lnwallet/btcwallet/btcwallet.go b/lnwallet/btcwallet/btcwallet.go index 51a69edd..5ba512db 100644 --- a/lnwallet/btcwallet/btcwallet.go +++ b/lnwallet/btcwallet/btcwallet.go @@ -427,6 +427,10 @@ func (b *BtcWallet) PublishTransaction(tx *wire.MsgTx) error { // Output was already spent. return lnwallet.ErrDoubleSpend } + if strings.Contains(err.Error(), "already been spent") { + // Output was already spent. + return lnwallet.ErrDoubleSpend + } if strings.Contains(err.Error(), "orphan transaction") { // Transaction is spending either output that // is missing or already spent.