Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Sep 18, 2023
1 parent a3c432d commit a51fafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/services/executor/src/refs/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ where
) -> ExecutorResult<<ContractsLatestUtxo as Mappable>::OwnedValue> {
let maybe_utxo_id = self
.utxo()
.map_err(|err| ExecutorError::StorageError(err))?
.map_err(ExecutorError::StorageError)?
.map(|utxo| utxo.into_owned());
let expected_utxo_id = if utxo_validation {
maybe_utxo_id.ok_or(ExecutorError::ContractUtxoMissing(self.contract_id))?
Expand Down

0 comments on commit a51fafd

Please sign in to comment.