Update sol_log_compute_units (#13360)
This commit is contained in:
parent
9e577d0338
commit
f6a73098a4
|
@ -97,7 +97,7 @@ pub fn sol_log_params(accounts: &[AccountInfo], data: &[u8]) {
|
|||
sol_log_slice(data);
|
||||
}
|
||||
|
||||
/// Logs the current compute unit consumption
|
||||
/// Logs the remaining compute units the program may consume
|
||||
#[inline]
|
||||
pub fn sol_log_compute_units() {
|
||||
#[cfg(target_arch = "bpf")]
|
||||
|
|
Loading…
Reference in New Issue