Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 13, 2024
1 parent 4c6c460 commit 72a903c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/containers/anchors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,13 @@ impl AnchoredBundles {
Dichotomy::single((anchor, &tapret.bundle))
}
AnchoredBundles::Opret(opret) => {
let anchor = EAnchor::new(opret.mpc_proof.clone(), opret.dbc_proof.clone().into());
let anchor = EAnchor::new(opret.mpc_proof.clone(), opret.dbc_proof.into());

Check warning on line 394 in src/containers/anchors.rs

View check run for this annotation

Codecov / codecov/patch

src/containers/anchors.rs#L394

Added line #L394 was not covered by tests
Dichotomy::single((anchor, &opret.bundle))
}
AnchoredBundles::Double { tapret, opret } => {
let tapret_anchor =
EAnchor::new(tapret.mpc_proof.clone(), tapret.dbc_proof.clone().into());
let opret_anchor =
EAnchor::new(opret.mpc_proof.clone(), opret.dbc_proof.clone().into());
let opret_anchor = EAnchor::new(opret.mpc_proof.clone(), opret.dbc_proof.into());

Check warning on line 400 in src/containers/anchors.rs

View check run for this annotation

Codecov / codecov/patch

src/containers/anchors.rs#L400

Added line #L400 was not covered by tests
Dichotomy::double((tapret_anchor, &tapret.bundle), (opret_anchor, &opret.bundle))
}
}
Expand Down

0 comments on commit 72a903c

Please sign in to comment.