Update sol_log_compute_units (#13360)
This commit is contained in:
@ -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")]
|
||||||
|
Reference in New Issue
Block a user