diff --git a/src/util/psbt/map/output.rs b/src/util/psbt/map/output.rs index 855524d5..feabda6b 100644 --- a/src/util/psbt/map/output.rs +++ b/src/util/psbt/map/output.rs @@ -127,7 +127,7 @@ impl Eq for TapTree {} impl TapTree { /// Gets the inner node info as the builder is finalized. - fn node_info(&self) -> &NodeInfo { + pub fn node_info(&self) -> &NodeInfo { // The builder algorithm invariant guarantees that is_complete builder // have only 1 element in branch and that is not None. // We make sure that we only allow is_complete builders via the from_inner