From a97f8e36a98276b8444ad9a22f29497999d5a899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Tue, 17 Dec 2024 18:41:02 -0300 Subject: [PATCH] Fix clippy --- rpc-state-reader/src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();