Skip to content

Commit

Permalink
Remove maxfeerate safeguard from sendrawtransaction API
Browse files Browse the repository at this point in the history
  • Loading branch information
mononaut committed Apr 19, 2024
1 parent e6b0d9f commit 62823e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ impl Daemon {
}

pub fn broadcast_raw(&self, txhex: &str) -> Result<Txid> {
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")
}
Expand Down

0 comments on commit 62823e6

Please sign in to comment.