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