Compare commits

...

1 Commits

Author SHA1 Message Date
Mononaut
62823e6b9b
Remove maxfeerate safeguard from sendrawtransaction API 2024-04-19 17:29:21 +00:00

View File

@ -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")
}