chore: fix clippy warnings (#262)

This commit is contained in:
Santiago Carmuega 2023-06-12 02:41:23 +02:00 committed by GitHub
parent 227b903bcb
commit c74255fd10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 28 deletions

View file

@ -239,7 +239,7 @@ impl<'b> MultiEraTx<'b> {
pub fn total_collateral(&self) -> Option<u64> {
match self {
MultiEraTx::Babbage(x) => x.transaction_body.total_collateral.clone(),
MultiEraTx::Babbage(x) => x.transaction_body.total_collateral,
_ => None,
}
}