From 4f7247976bb14191352fb1c8897619d9068caaef Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 21 Jun 2021 00:19:13 +0000 Subject: [PATCH] Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs I saw this with Bitcoin Core 0.21.2, I guess "Inputs missing or spent" was renamed. --- src/bitcoind_client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitcoind_client.rs b/src/bitcoind_client.rs index ca4a181..56b7f1a 100644 --- a/src/bitcoind_client.rs +++ b/src/bitcoind_client.rs @@ -246,6 +246,7 @@ impl BroadcasterInterface for BitcoindClient { let err_str = e.get_ref().unwrap().to_string(); if !err_str.contains("Transaction already in block chain") && !err_str.contains("Inputs missing or spent") + && !err_str.contains("bad-txns-inputs-missingorspent") && !err_str.contains("non-BIP68-final") { panic!("{}", e); -- 2.39.5