From 7d0d499cd05a30863c1d38be6e3ae6a2038cbf36 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 22 Aug 2018 20:20:49 -0700 Subject: [PATCH] wallet: remove txns from store if they're in the chain, or have a negative output --- wallet/wallet.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wallet/wallet.go b/wallet/wallet.go index 8411494..a1684da 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -2698,6 +2698,8 @@ func (w *Wallet) resendUnminedTxs() { case strings.Contains(err.Error(), "spent"): case strings.Contains(err.Error(), "orphan"): case strings.Contains(err.Error(), "conflict"): + case strings.Contains(err.Error(), "already exists"): + case strings.Contains(err.Error(), "negative"): // The following errors are returned from bitcoind's // mempool.