We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7b631 commit 006590dCopy full SHA for 006590d
src/blocking.rs
@@ -292,7 +292,7 @@ impl BlockingClient {
292
/// Broadcast a [`Transaction`] to Esplora
293
pub fn broadcast(&self, transaction: &Transaction) -> Result<Txid, Error> {
294
let request = self.post_request(
295
- "tx",
+ "/tx",
296
serialize(transaction)
297
.to_lower_hex_string()
298
.as_bytes()
@@ -334,7 +334,7 @@ impl BlockingClient {
334
.collect::<Vec<_>>();
335
336
let mut request = self.post_request(
337
- "txs/package",
+ "/txs/package",
338
serde_json::to_string(&serialized_txs)
339
.unwrap()
340
0 commit comments