]> Untitled Git - bdk/commitdiff
chore(esplora): Allow `dead_code` for helper methods
author志宇 <hello@evanlinjin.me>
Thu, 10 Jul 2025 03:04:24 +0000 (03:04 +0000)
committer志宇 <hello@evanlinjin.me>
Thu, 10 Jul 2025 03:04:24 +0000 (03:04 +0000)
This suppresses warnings in CI.

crates/esplora/src/lib.rs

index a4d4b9a5b1a483188fa516f1cde15726177a9242..a88c266a0660cc29baf53209ed3cc3249c64541a 100644 (file)
@@ -36,6 +36,7 @@ mod async_ext;
 #[cfg(feature = "async")]
 pub use async_ext::*;
 
+#[allow(dead_code)]
 fn insert_anchor_or_seen_at_from_status(
     update: &mut TxUpdate<ConfirmationBlockTime>,
     start_time: u64,
@@ -61,6 +62,7 @@ fn insert_anchor_or_seen_at_from_status(
 
 /// Inserts floating txouts into `tx_graph` using [`Vin`](esplora_client::api::Vin)s returned by
 /// Esplora.
+#[allow(dead_code)]
 fn insert_prevouts(
     update: &mut TxUpdate<ConfirmationBlockTime>,
     esplora_inputs: impl IntoIterator<Item = esplora_client::api::Vin>,