Drop compute unit logging
This commit is contained in:
parent
a80f8e49f7
commit
694a03efde
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue