From: Noah Joeris Date: Thu, 23 Apr 2026 17:52:04 +0000 (+0300) Subject: test(esplora): allow(dead_code) at file level in common X-Git-Url: http://internal-gitweb-vhost/?a=commitdiff_plain;h=187b00747ab978a3bba21df5d14835ec31ed9fa3;p=bdk test(esplora): allow(dead_code) at file level in common --- diff --git a/crates/esplora/tests/common/mod.rs b/crates/esplora/tests/common/mod.rs index e505f5fb..9fe6dfd9 100644 --- a/crates/esplora/tests/common/mod.rs +++ b/crates/esplora/tests/common/mod.rs @@ -1,3 +1,5 @@ +#![allow(dead_code)] + use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; use bdk_core::bitcoin::{Address, ScriptBuf}; use std::str::FromStr; @@ -7,7 +9,6 @@ const PK_BYTES: &[u8] = &[ 114, 89, 165, 83, 141, 8, 203, 93, 240, 53, 101, ]; -#[allow(dead_code)] pub fn get_test_spk() -> ScriptBuf { let secp = Secp256k1::new(); let pk = UntweakedPublicKey::from_slice(PK_BYTES).expect("Must be valid PK");