diff --git a/rpc-state-reader/src/reader.rs b/rpc-state-reader/src/reader.rs index 8b10537..399911f 100644 --- a/rpc-state-reader/src/reader.rs +++ b/rpc-state-reader/src/reader.rs @@ -223,7 +223,7 @@ impl RpcStateReader { } pub fn get_class_info(&self, class_hash: &ClassHash) -> anyhow::Result { - match self.get_contract_class(&class_hash)? { + match self.get_contract_class(class_hash)? { SNContractClass::Sierra(sierra) => { let abi_length = sierra.abi.len(); let sierra_length = sierra.sierra_program.len();