File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ pub fn random_pk(mut seed: u8) -> bitcoin::PublicKey {
142
142
}
143
143
}
144
144
145
+ #[ allow( dead_code) ]
146
+ // https://github.com/rust-lang/rust/issues/46379. The code is pub fn and integration test, but still shows warnings
145
147
/// Parse an insane miniscript into a miniscript with the format described above at file header
146
148
pub fn parse_insane_ms < Ctx : ScriptContext > (
147
149
ms : & str ,
@@ -213,6 +215,8 @@ pub fn parse_insane_ms<Ctx: ScriptContext>(
213
215
ms
214
216
}
215
217
218
+ #[ allow( dead_code) ]
219
+ // https://github.com/rust-lang/rust/issues/46379. The code is pub fn and integration test, but still shows warnings
216
220
pub fn parse_test_desc ( desc : & str , pubdata : & PubData ) -> Descriptor < DescriptorPublicKey > {
217
221
let desc = subs_hash_frag ( desc, pubdata) ;
218
222
let desc =
You can’t perform that action at this time.
0 commit comments