projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6200c11
)
Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs
author
Matt Corallo
<git@bluematt.me>
Mon, 21 Jun 2021 00:19:13 +0000
(
00:19
+0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 21 Jun 2021 00:19:54 +0000
(
00:19
+0000)
I saw this with Bitcoin Core 0.21.2, I guess "Inputs missing or
spent" was renamed.
src/bitcoind_client.rs
patch
|
blob
|
history
diff --git
a/src/bitcoind_client.rs
b/src/bitcoind_client.rs
index ca4a18134423a17f21636fab53cc8d534e749af0..56b7f1a97b6c53fd5db2916f12880d83917ea14a 100644
(file)
--- 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);