Skip to content

Commit 3bd06f2

Browse files
committed
chore(clippy): remove unneeded allow(clippy::result_large_err)
1 parent 6c4ab5c commit 3bd06f2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

crates/esplora/src/async_ext.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ pub trait EsploraAsyncExt {
2929
/// [`LocalChain`]: bdk_chain::local_chain::LocalChain
3030
/// [`LocalChain::tip`]: bdk_chain::local_chain::LocalChain::tip
3131
/// [`LocalChain::apply_update`]: bdk_chain::local_chain::LocalChain::apply_update
32-
#[allow(clippy::result_large_err)]
3332
async fn update_local_chain(
3433
&self,
3534
local_tip: Option<CheckPoint>,
@@ -47,7 +46,6 @@ pub trait EsploraAsyncExt {
4746
/// The scan for each keychain stops after a gap of `stop_gap` script pubkeys with no associated
4847
/// transactions. `parallel_requests` specifies the max number of HTTP requests to make in
4948
/// parallel.
50-
#[allow(clippy::result_large_err)]
5149
async fn scan_txs_with_keychains<K: Ord + Clone + Send>(
5250
&self,
5351
keychain_spks: BTreeMap<
@@ -63,7 +61,6 @@ pub trait EsploraAsyncExt {
6361
/// Convenience method to call [`scan_txs_with_keychains`] without requiring a keychain.
6462
///
6563
/// [`scan_txs_with_keychains`]: EsploraAsyncExt::scan_txs_with_keychains
66-
#[allow(clippy::result_large_err)]
6764
async fn scan_txs(
6865
&self,
6966
misc_spks: impl IntoIterator<IntoIter = impl Iterator<Item = ScriptBuf> + Send> + Send,

crates/esplora/src/blocking_ext.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub trait EsploraExt {
2727
/// [`LocalChain`]: bdk_chain::local_chain::LocalChain
2828
/// [`LocalChain::tip`]: bdk_chain::local_chain::LocalChain::tip
2929
/// [`LocalChain::apply_update`]: bdk_chain::local_chain::LocalChain::apply_update
30-
#[allow(clippy::result_large_err)]
3130
fn update_local_chain(
3231
&self,
3332
local_tip: Option<CheckPoint>,
@@ -45,7 +44,6 @@ pub trait EsploraExt {
4544
/// The scan for each keychain stops after a gap of `stop_gap` script pubkeys with no associated
4645
/// transactions. `parallel_requests` specifies the max number of HTTP requests to make in
4746
/// parallel.
48-
#[allow(clippy::result_large_err)]
4947
fn scan_txs_with_keychains<K: Ord + Clone>(
5048
&self,
5149
keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, ScriptBuf)>>,
@@ -58,7 +56,6 @@ pub trait EsploraExt {
5856
/// Convenience method to call [`scan_txs_with_keychains`] without requiring a keychain.
5957
///
6058
/// [`scan_txs_with_keychains`]: EsploraExt::scan_txs_with_keychains
61-
#[allow(clippy::result_large_err)]
6259
fn scan_txs(
6360
&self,
6461
misc_spks: impl IntoIterator<Item = ScriptBuf>,

0 commit comments

Comments
 (0)