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 Sep 20, 2024
1 parent 24af8a5 commit 94b5ebc
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/interface/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,18 +380,9 @@ impl<S: ContractStateRead> ContractIface<S> {
) -> Vec<ContractOp> {
self.history_fungible(filter_outpoints.clone(), filter_witnesses.clone())
.into_iter()
.chain(
self.history_rights(filter_outpoints.clone(), filter_witnesses.clone())
.into_iter(),
)
.chain(
self.history_data(filter_outpoints.clone(), filter_witnesses.clone())
.into_iter(),
)
.chain(
self.history_attach(filter_outpoints, filter_witnesses)
.into_iter(),
)
.chain(self.history_rights(filter_outpoints.clone(), filter_witnesses.clone()))
.chain(self.history_data(filter_outpoints.clone(), filter_witnesses.clone()))
.chain(self.history_attach(filter_outpoints, filter_witnesses))
.collect()
}

Check warning on line 387 in src/interface/contract.rs

View check run for this annotation

Codecov / codecov/patch

src/interface/contract.rs#L376-L387

Added lines #L376 - L387 were not covered by tests

Expand Down

0 comments on commit 94b5ebc

Please sign in to comment.