Fix build without enable-gpl

This commit is contained in:
Christian Kamm 2023-04-25 13:38:48 +02:00
parent 2dce1398d3
commit 7ec8fbffe5
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ pub mod mango_v4 {
amount: u64,
) -> Result<()> {
#[cfg(feature = "enable-gpl")]
instructions::group_withdraw_insurance_fund(ctx, amount)
instructions::group_withdraw_insurance_fund(ctx, amount)?;
Ok(())
}
pub fn ix_gate_set(ctx: Context<IxGateSet>, ix_gate: u128) -> Result<()> {