Skip to content

Commit c954842

Browse files
authored
Merge branch 'master' into evgenii/tx-batch-builder
2 parents aa55a30 + 3b19010 commit c954842

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rust/src/metadata.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,14 @@ impl AuxiliaryData {
408408
pub fn set_plutus_scripts(&mut self, plutus_scripts: &PlutusScripts) {
409409
self.plutus_scripts = Some(plutus_scripts.clone())
410410
}
411+
412+
pub fn prefer_alonzo_format(&self) -> bool {
413+
self.prefer_alonzo_format.clone()
414+
}
415+
416+
pub fn set_prefer_alonzo_format(&mut self, prefer: bool) {
417+
self.prefer_alonzo_format = prefer
418+
}
411419
}
412420

413421
// encodes arbitrary bytes into chunks of 64 bytes (the limit for bytes) as a list to be valid Metadata

0 commit comments

Comments
 (0)