From 62823e6b9b3d3029cc26032cf86501a078f07982 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 19 Apr 2024 17:29:21 +0000 Subject: [PATCH] Remove maxfeerate safeguard from sendrawtransaction API --- src/daemon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon.rs b/src/daemon.rs index 254c168e..707ab6e4 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -597,7 +597,7 @@ impl Daemon { } pub fn broadcast_raw(&self, txhex: &str) -> Result { - let txid = self.request("sendrawtransaction", json!([txhex]))?; + let txid = self.request("sendrawtransaction", json!([txhex, 0]))?; Txid::from_hex(txid.as_str().chain_err(|| "non-string txid")?) .chain_err(|| "failed to parse txid") }