From f4e158a3e415d0131a560156cf8f6bb21c98f6f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BF=97=E5=AE=87?= Date: Thu, 10 Jul 2025 03:04:24 +0000 Subject: [PATCH] chore(esplora): Allow `dead_code` for helper methods This suppresses warnings in CI. --- crates/esplora/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/esplora/src/lib.rs b/crates/esplora/src/lib.rs index a4d4b9a5..a88c266a 100644 --- a/crates/esplora/src/lib.rs +++ b/crates/esplora/src/lib.rs @@ -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, 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, esplora_inputs: impl IntoIterator, -- 2.49.0