Skip to content

Commit 925990c

Browse files
committed
apollo_state_reader: clean get compiled class impl
1 parent dfb19de commit 925990c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo_state_reader/src/apollo_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ impl StateReader for ApolloReader {
235235
}
236236

237237
fn get_compiled_class(&self, class_hash: ClassHash) -> StateResult<RunnableCompiledClass> {
238-
self.get_compiled_class_from_db(class_hash).map(|class| class.to_runnable())
238+
self.get_compiled_classes(class_hash).map(|class| class.to_runnable())
239239
}
240240

241241
fn get_compiled_class_hash(&self, class_hash: ClassHash) -> StateResult<CompiledClassHash> {

0 commit comments

Comments
 (0)