diff --git a/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs b/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs index 3baca3cc41743..98acec0add6f4 100644 --- a/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs +++ b/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs @@ -446,7 +446,7 @@ fn estimate_output_nodes_for_curr_node( } } -/// Try to extract a u64 value from the given argument, or return None on failure. +/// Try to extract a u32 value from the given argument, or return None on failure. fn extract_limit(value: Option<&Positioned>, variables: &Variables) -> Option { if let GqlValue::Variable(var) = &value?.node { return match variables.get(var) {