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 47f6d78 commit d7b3de2Copy full SHA for d7b3de2
src/blocking.rs
@@ -288,7 +288,7 @@ impl BlockingClient {
288
/// Broadcast a [`Transaction`] to Esplora
289
pub fn broadcast(&self, transaction: &Transaction) -> Result<Txid, Error> {
290
let request = self.post_request(
291
- "tx",
+ "/tx",
292
serialize(transaction)
293
.to_lower_hex_string()
294
.as_bytes()
@@ -330,7 +330,7 @@ impl BlockingClient {
330
.collect::<Vec<_>>();
331
332
let mut request = self.post_request(
333
- "txs/package",
+ "/txs/package",
334
serde_json::to_string(&serialized_txs)
335
.unwrap()
336
0 commit comments