From d8c78d5c2cd8111359e0a3d2549c9eb585a20735 Mon Sep 17 00:00:00 2001 From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Tue, 17 Aug 2021 01:33:01 +0000 Subject: [PATCH] Allow "rejecting replacement" tx broadcast error We occasionally will attempt to broadcast transactions which conflicting with mempool transactions which are marked RBF. If we don't have a higher fee, we'll get a "rejecting replacement" error, which should not cause a panic. --- src/bitcoind_client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitcoind_client.rs b/src/bitcoind_client.rs index fd21b59..61e67c2 100644 --- a/src/bitcoind_client.rs +++ b/src/bitcoind_client.rs @@ -262,6 +262,7 @@ impl BroadcasterInterface for BitcoindClient { && !err_str.contains("Inputs missing or spent") && !err_str.contains("bad-txns-inputs-missingorspent") && !err_str.contains("non-BIP68-final") + && !err_str.contains("insufficient fee, rejecting replacement ") { panic!("{}", e); } -- 2.30.2