Skip to content

Commit

Permalink
Make taproot LeafInfo public
Browse files Browse the repository at this point in the history
LeafInfo structure is a useful form of representing leaf script information (script, leaf version and merkle proof).
  • Loading branch information
dr-orlovsky committed Apr 19, 2022
1 parent 8ca18f7 commit c83893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/taproot.rs
Expand Up @@ -608,7 +608,7 @@ impl NodeInfo {
/// Store information about taproot leaf node.
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub(crate) struct LeafInfo {
pub struct LeafInfo {
/// The underlying script.
pub(crate) script: Script,
/// The leaf version.
Expand Down

0 comments on commit c83893d

Please sign in to comment.