Skip to content

Commit 56bde23

Browse files
committed
fix(cardano-blockchain-types): expose aux data from multierablock
Signed-off-by: bkioshn <[email protected]>
1 parent 7a0edd3 commit 56bde23

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rust/cardano-blockchain-types/src/multi_era_block_data.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ impl MultiEraBlock {
281281

282282
None
283283
}
284+
285+
/// Get the auxiliary data of the block.
286+
#[must_use]
287+
pub fn aux_data(&self) -> &BlockAuxData {
288+
&self.inner.aux_data
289+
}
284290
}
285291

286292
impl Display for MultiEraBlock {

0 commit comments

Comments
 (0)