mirror of https://github.com/zcash/orchard.git
Add getter method for Bundle.burn field (#58)
- Add getter method for Bundle.burn field
This commit is contained in:
parent
ea0fd59ec7
commit
9a35108155
|
@ -206,6 +206,11 @@ impl<T: Authorization, V> Bundle<T, V> {
|
|||
&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
|
||||
|
|
Loading…
Reference in New Issue