Skip to content

Commit

Permalink
indexers: re-export error types
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Sep 25, 2024
1 parent 4387142 commit 7935e20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/indexers/electrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ use std::str::FromStr;

use bpstd::{Address, BlockHash, ConsensusEncode, Outpoint, Sats, Tx, TxIn, Txid, Weight};
use descriptors::Descriptor;
use electrum::{Client, ElectrumApi, Error, GetHistoryRes, Param};
pub use electrum::Error;
use electrum::{Client, ElectrumApi, GetHistoryRes, Param};
use serde_json::Value;

use super::BATCH_SIZE;
Expand Down
3 changes: 2 additions & 1 deletion src/indexers/esplora.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ use std::ops::{Deref, DerefMut};

use bpstd::{Address, DerivedAddr, LockTime, Outpoint, SeqNo, Tx, TxVer, Witness};
use descriptors::Descriptor;
use esplora::{BlockingClient, Error};
use esplora::BlockingClient;
pub use esplora::Error;

#[cfg(feature = "mempool")]
use super::mempool::Mempool;
Expand Down

0 comments on commit 7935e20

Please sign in to comment.