Skip to content

Commit

Permalink
pbst: make KeyAlreadyPresent inner data public
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 18, 2023
1 parent c14bae3 commit 64dc394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psbt/src/maps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl From<Vec<u8>> for ValueData {

#[derive(Clone, Eq, PartialEq, Debug, Display, Error)]
#[display("proprietary key '{0}' is already present")]
pub struct KeyAlreadyPresent(PropKey);
pub struct KeyAlreadyPresent(pub PropKey);

#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Display)]
#[display(lowercase)]
Expand Down

0 comments on commit 64dc394

Please sign in to comment.