Skip to content

Commit 3544ce5

Browse files
committed
cargo fmt --
1 parent ebebf5f commit 3544ce5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

programs/drift/src/controller/insurance.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ pub fn add_insurance_fund_stake(
162162
emit!(InsuranceFundStakeRecord {
163163
ts: now,
164164
user_authority: user_stats.authority,
165-
action: if admin_deposit { StakeAction::AdminDeposit } else { StakeAction::Stake },
165+
action: if admin_deposit {
166+
StakeAction::AdminDeposit
167+
} else {
168+
StakeAction::Stake
169+
},
166170
amount,
167171
market_index: spot_market.market_index,
168172
insurance_vault_amount_before: insurance_vault_amount,

0 commit comments

Comments
 (0)