Drop compute unit logging

This commit is contained in:
Michael Vines 2020-11-03 11:26:23 -08:00 committed by mergify[bot]
parent a80f8e49f7
commit 694a03efde
1 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@ use solana_program::{
account_info::{next_account_info, AccountInfo}, account_info::{next_account_info, AccountInfo},
entrypoint::ProgramResult, entrypoint::ProgramResult,
info, info,
log::sol_log_compute_units,
program::{invoke, invoke_signed}, program::{invoke, invoke_signed},
program_error::ProgramError, program_error::ProgramError,
pubkey::Pubkey, pubkey::Pubkey,
@ -47,8 +46,6 @@ pub fn process_instruction(
&[bump_seed], &[bump_seed],
]; ];
sol_log_compute_units();
// Fund the associated token account with the minimum balance to be rent exempt // Fund the associated token account with the minimum balance to be rent exempt
let rent = &Rent::from_account_info(rent_sysvar_info)?; let rent = &Rent::from_account_info(rent_sysvar_info)?;
let required_lamports = rent let required_lamports = rent