diff --git a/soroban-env-host/src/host.rs b/soroban-env-host/src/host.rs index 4bde5f1a5..339750180 100644 --- a/soroban-env-host/src/host.rs +++ b/soroban-env-host/src/host.rs @@ -1201,7 +1201,7 @@ impl EnvBase for Host { fn symbol_index_in_strs(&self, sym: Symbol, slices: &[&str]) -> Result { let mut found = None; - self.metered_scan_slice_of_slices(slices, |i, slice| { + self.scan_slice_of_slices(slices, |i, slice| { if self.symbol_matches(slice.as_bytes(), sym)? && found.is_none() { found = Some(i) } diff --git a/soroban-env-host/src/host/mem_helper.rs b/soroban-env-host/src/host/mem_helper.rs index c75ee7fd8..13f5f0081 100644 --- a/soroban-env-host/src/host/mem_helper.rs +++ b/soroban-env-host/src/host/mem_helper.rs @@ -209,7 +209,7 @@ impl Host { Ok(()) } - pub(crate) fn metered_scan_slice_of_slices( + pub(crate) fn scan_slice_of_slices( &self, slices: &[&str], mut callback: impl FnMut(usize, &str) -> Result<(), HostError>,