We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61672ca commit 8c5f819Copy full SHA for 8c5f819
vm/src/hint_processor/builtin_hint_processor/builtin_hint_processor_definition.rs
@@ -250,7 +250,7 @@ impl HintProcessorLogic for BuiltinHintProcessor {
250
) -> Result<Box<dyn Any>, crate::vm::errors::vm_errors::VirtualMachineError> {
251
let ids_data = get_ids_data(reference_ids, references)?;
252
253
- if self.extra_hints.get(hint_code).is_some() {
+ if self.extra_hints.contains_key(hint_code) {
254
// TODO: This is to handle the extra_hints. Handle this case nicely
255
return Ok(any_box!(HintProcessorData {
256
code: hint_code.to_string(),
0 commit comments