Compare commits
1 Commits
mempool
...
mononaut/s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62823e6b9b |
@ -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")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user