Skip to content

Commit

Permalink
chore(deps): Update Pallas to version 0.3.8 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Jan 8, 2022
1 parent eb23d13 commit 0833d52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions src/mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,12 @@ impl EventSource for AuxiliaryData {
writer.append(EventData::NativeScript)?;
}

for plutus in data.plutus_scripts.iter() {
writer.append(EventData::PlutusScript {
data: plutus.to_hex(),
})?;
if let Some(plutus) = &data.plutus_scripts {
for script in plutus.iter() {
writer.append(EventData::PlutusScript {
data: script.to_hex(),
})?;
}
}
}
AuxiliaryData::Shelley(data) => {
Expand Down

0 comments on commit 0833d52

Please sign in to comment.