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 {
143143 }
144144}
145145
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
146148/// Parse an insane miniscript into a miniscript with the format described above at file header
147149pub fn parse_insane_ms < Ctx : ScriptContext > (
148150 ms : & str ,
@@ -214,6 +216,8 @@ pub fn parse_insane_ms<Ctx: ScriptContext>(
214216 ms
215217}
216218
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
217221pub fn parse_test_desc ( desc : & str , pubdata : & PubData ) -> Descriptor < DescriptorPublicKey > {
218222 let desc = subs_hash_frag ( desc, pubdata) ;
219223 let desc =
You can’t perform that action at this time.
0 commit comments