Skip to content

Commit

Permalink
Update route_ncn_rewards.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell authored Dec 17, 2024
1 parent 34d9f81 commit 4394b1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions program/src/route_ncn_rewards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ pub fn process_route_ncn_rewards(

let rent_cost = ncn_reward_router_account.rent_cost(&Rent::get()?)?;

msg!("A");
sol_log_compute_units();
ncn_reward_router_account.route_incoming_rewards(rent_cost, account_balance)?;

msg!("B");
sol_log_compute_units();
ncn_reward_router_account.route_reward_pool(operator_snapshot_account)?;

Ok(())
Expand Down

0 comments on commit 4394b1d

Please sign in to comment.