Merge pull request #20 from TheBlueMatt/main
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Thu, 24 Jun 2021 17:00:00 +0000 (17:00 +0000)
committerGitHub <noreply@github.com>
Thu, 24 Jun 2021 17:00:00 +0000 (17:00 +0000)
Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs

src/bitcoind_client.rs

index ca4a18134423a17f21636fab53cc8d534e749af0..56b7f1a97b6c53fd5db2916f12880d83917ea14a 100644 (file)
@@ -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);