We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebebf5f commit 3544ce5Copy full SHA for 3544ce5
programs/drift/src/controller/insurance.rs
@@ -162,7 +162,11 @@ pub fn add_insurance_fund_stake(
162
emit!(InsuranceFundStakeRecord {
163
ts: now,
164
user_authority: user_stats.authority,
165
- action: if admin_deposit { StakeAction::AdminDeposit } else { StakeAction::Stake },
+ action: if admin_deposit {
166
+ StakeAction::AdminDeposit
167
+ } else {
168
+ StakeAction::Stake
169
+ },
170
amount,
171
market_index: spot_market.market_index,
172
insurance_vault_amount_before: insurance_vault_amount,
0 commit comments