Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
riordanp committed Aug 21, 2022
1 parent 9529a9e commit 51ec79b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions program/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,7 @@ impl HealthCache {
let mngo_cache = &mango_cache.root_bank_cache[mngo_index];
let mngo_deposits = mango_account.get_native_deposit(mngo_cache, mngo_index)?;
let ref_mngo_req = I80F48::from_num(mango_group.ref_mngo_required);
let ref_mngo_tier_2_factor =
I80F48::from_num(mango_group.ref_mngo_tier_2_factor);
let ref_mngo_tier_2_factor = I80F48::from_num(mango_group.ref_mngo_tier_2_factor);
let tier_2_enabled = mango_group.ref_surcharge_centibps_tier_2 != 0
&& mango_group.ref_share_centibps_tier_2 != 0;

Expand Down

0 comments on commit 51ec79b

Please sign in to comment.