From: Matt Corallo Date: Mon, 21 Jun 2021 00:19:13 +0000 (+0000) Subject: Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=4f7247976bb14191352fb1c8897619d9068caaef;p=ldk-sample 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. --- 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);