chore: apply new lint warnings from latest clippy (#561)

This commit is contained in:
Santiago Carmuega 2024-12-14 17:37:33 -03:00 committed by GitHub
parent e21895206c
commit b483b3a17a
23 changed files with 185 additions and 171 deletions

View file

@ -65,7 +65,7 @@ impl<C: LedgerContext> Mapper<C> {
u5c::Redeemer {
purpose: self.map_purpose(&x.tag()).into(),
payload: self.map_plutus_datum(x.data()).into(),
index: x.index().into(),
index: x.index(),
ex_units: Some(u5c::ExUnits {
steps: x.ex_units().steps,
memory: x.ex_units().mem,
@ -613,7 +613,7 @@ mod tests {
// )
// .unwrap();
let expected: serde_json::Value = serde_json::from_str(&json_str).unwrap();
let expected: serde_json::Value = serde_json::from_str(json_str).unwrap();
assert_eq!(expected, current)
}