From f6a73098a4662c3287967f1a6792be4784ad8902 Mon Sep 17 00:00:00 2001 From: Jack May Date: Tue, 3 Nov 2020 08:16:31 -0800 Subject: [PATCH] Update sol_log_compute_units (#13360) --- sdk/program/src/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/program/src/log.rs b/sdk/program/src/log.rs index 132a102c0e..7b2e82cf86 100644 --- a/sdk/program/src/log.rs +++ b/sdk/program/src/log.rs @@ -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")]