diff --git a/src/bundle.rs b/src/bundle.rs index d7a75875b..c702d8655 100644 --- a/src/bundle.rs +++ b/src/bundle.rs @@ -206,6 +206,11 @@ impl Bundle { &self.value_balance } + /// Returns assets intended for burning + pub fn burn(&self) -> &Vec<(AssetBase, V)> { + &self.burn + } + /// Returns the root of the Orchard commitment tree that this bundle commits to. pub fn anchor(&self) -> &Anchor { &self.anchor