diff --git a/common/credential-verification/src/bandwidth_storage_manager.rs b/common/credential-verification/src/bandwidth_storage_manager.rs index c861ef123f0..5d510913464 100644 --- a/common/credential-verification/src/bandwidth_storage_manager.rs +++ b/common/credential-verification/src/bandwidth_storage_manager.rs @@ -88,7 +88,8 @@ impl BandwidthStorageManager { debug!(available = available_bi2, required = required_bi2); self.consume_bandwidth(required_bandwidth).await?; - Ok(available_bandwidth) + let remaining_bandwidth = self.client_bandwidth.available().await; + Ok(remaining_bandwidth) } async fn expire_bandwidth(&mut self) -> Result<()> {