From 382d2c99c200dd861a0d1ae43107398db3eda7ad Mon Sep 17 00:00:00 2001 From: Sanket Kanjalkar Date: Thu, 11 Jul 2024 17:39:14 -0700 Subject: [PATCH] Dead code fixes --- src/psbt/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/psbt/mod.rs b/src/psbt/mod.rs index 668669fd5..6adf49b63 100644 --- a/src/psbt/mod.rs +++ b/src/psbt/mod.rs @@ -1086,9 +1086,11 @@ impl PsbtFields for psbt::Input { ) -> &mut BTreeMap, bip32::KeySource)> { &mut self.tap_key_origins } + #[allow(dead_code)] fn proprietary(&mut self) -> &mut BTreeMap> { &mut self.proprietary } + #[allow(dead_code)] fn unknown(&mut self) -> &mut BTreeMap> { &mut self.unknown } @@ -1119,9 +1121,11 @@ impl PsbtFields for psbt::Output { ) -> &mut BTreeMap, bip32::KeySource)> { &mut self.tap_key_origins } + #[allow(dead_code)] fn proprietary(&mut self) -> &mut BTreeMap> { &mut self.proprietary } + #[allow(dead_code)] fn unknown(&mut self) -> &mut BTreeMap> { &mut self.unknown }