Skip to content

Commit 424df29

Browse files
committed
Make taproot LeafInfo public
LeafInfo structure is a useful form of representing leaf script information (script, leaf version and merkle proof).
1 parent 8efc9a1 commit 424df29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/taproot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ impl NodeInfo {
608608
/// Store information about taproot leaf node.
609609
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
610610
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
611-
pub(crate) struct LeafInfo {
611+
pub struct LeafInfo {
612612
/// The underlying script.
613613
pub(crate) script: Script,
614614
/// The leaf version.

0 commit comments

Comments
 (0)