From f9d8d0d968b7eddcd628d97ea7f07a901a4d98e2 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Wed, 30 Mar 2022 11:33:40 +0200 Subject: [PATCH] Make TapTree::node_info public --- src/util/psbt/map/output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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