Update sol_log_compute_units (#13360)

This commit is contained in:
Jack May
2020-11-03 08:16:31 -08:00
committed by GitHub
parent 9e577d0338
commit f6a73098a4

View File

@ -97,7 +97,7 @@ pub fn sol_log_params(accounts: &[AccountInfo], data: &[u8]) {
sol_log_slice(data); sol_log_slice(data);
} }
/// Logs the current compute unit consumption /// Logs the remaining compute units the program may consume
#[inline] #[inline]
pub fn sol_log_compute_units() { pub fn sol_log_compute_units() {
#[cfg(target_arch = "bpf")] #[cfg(target_arch = "bpf")]