Skip to content

Commit

Permalink
Dead code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket1729 committed Jul 12, 2024
1 parent 6aaec4c commit 382d2c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/psbt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1086,9 +1086,11 @@ impl PsbtFields for psbt::Input {
) -> &mut BTreeMap<bitcoin::key::XOnlyPublicKey, (Vec<TapLeafHash>, bip32::KeySource)> {
&mut self.tap_key_origins
}
#[allow(dead_code)]
fn proprietary(&mut self) -> &mut BTreeMap<psbt::raw::ProprietaryKey, Vec<u8>> {
&mut self.proprietary
}
#[allow(dead_code)]
fn unknown(&mut self) -> &mut BTreeMap<psbt::raw::Key, Vec<u8>> {
&mut self.unknown
}
Expand Down Expand Up @@ -1119,9 +1121,11 @@ impl PsbtFields for psbt::Output {
) -> &mut BTreeMap<bitcoin::key::XOnlyPublicKey, (Vec<TapLeafHash>, bip32::KeySource)> {
&mut self.tap_key_origins
}
#[allow(dead_code)]
fn proprietary(&mut self) -> &mut BTreeMap<psbt::raw::ProprietaryKey, Vec<u8>> {
&mut self.proprietary
}
#[allow(dead_code)]
fn unknown(&mut self) -> &mut BTreeMap<psbt::raw::Key, Vec<u8>> {
&mut self.unknown
}
Expand Down

0 comments on commit 382d2c9

Please sign in to comment.