Skip to content

Commit 187b007

Browse files
committed
test(esplora): allow(dead_code) at file level in common
1 parent 79d1f45 commit 187b007

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/esplora/tests/common

crates/esplora/tests/common/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)]
2+
13
use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey};
24
use bdk_core::bitcoin::{Address, ScriptBuf};
35
use std::str::FromStr;
@@ -7,7 +9,6 @@ const PK_BYTES: &[u8] = &[
79
114, 89, 165, 83, 141, 8, 203, 93, 240, 53, 101,
810
];
911

10-
#[allow(dead_code)]
1112
pub fn get_test_spk() -> ScriptBuf {
1213
let secp = Secp256k1::new();
1314
let pk = UntweakedPublicKey::from_slice(PK_BYTES).expect("Must be valid PK");

0 commit comments

Comments
 (0)