Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
perf: remove clone from compute_sierra_class_hash (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen authored and fannyguthmann committed Sep 22, 2023
1 parent dcc52af commit 2649732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/contract_address/sierra_contract_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub fn compute_sierra_class_hash(
let abi = serde_json_pythonic::to_string_pythonic(
&contract_class
.abi
.clone()
.as_ref()
.ok_or(ContractAddressError::MissingAbi)?
.items,
)
Expand Down

0 comments on commit 2649732

Please # to comment.