Fix rename
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
40a011a48e
commit
609f6f24da
|
@ -3,7 +3,7 @@ use anchor_spl::token;
|
|||
|
||||
use crate::{accounts_ix::*, group_seeds};
|
||||
|
||||
pub fn admin_withdraw_token_fees(ctx: Context<AdminTokenWithdrawFees>) -> Result<()> {
|
||||
pub fn admin_token_withdraw_fees(ctx: Context<AdminTokenWithdrawFees>) -> Result<()> {
|
||||
let group = ctx.accounts.group.load()?;
|
||||
let mut bank = ctx.accounts.bank.load_mut()?;
|
||||
|
|
@ -5,7 +5,7 @@ pub use account_edit::*;
|
|||
pub use account_expand::*;
|
||||
pub use account_toggle_freeze::*;
|
||||
pub use admin_perp_withdraw_fees::*;
|
||||
pub use admin_withdraw_token_fees::*;
|
||||
pub use admin_token_withdraw_fees::*;
|
||||
pub use alt_extend::*;
|
||||
pub use alt_set::*;
|
||||
pub use benchmark::*;
|
||||
|
@ -69,7 +69,7 @@ mod account_edit;
|
|||
mod account_expand;
|
||||
mod account_toggle_freeze;
|
||||
mod admin_perp_withdraw_fees;
|
||||
mod admin_withdraw_token_fees;
|
||||
mod admin_token_withdraw_fees;
|
||||
mod alt_extend;
|
||||
mod alt_set;
|
||||
mod benchmark;
|
||||
|
|
|
@ -43,9 +43,9 @@ pub mod mango_v4 {
|
|||
use super::*;
|
||||
use error::*;
|
||||
|
||||
pub fn admin_withdraw_token_fees(ctx: Context<AdminTokenWithdrawFees>) -> Result<()> {
|
||||
pub fn adming_token_withdraw_fees(ctx: Context<AdminTokenWithdrawFees>) -> Result<()> {
|
||||
#[cfg(feature = "enable-gpl")]
|
||||
instructions::admin_withdraw_token_fees(ctx)?;
|
||||
instructions::admin_token_withdraw_fees(ctx)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue