Skip to content

Commit

Permalink
update comment (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider authored Oct 23, 2024
1 parent e33e49c commit 0bd19d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions programs/manifest/src/state/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ pub(crate) fn try_to_move_global_tokens<'a, 'info>(
"Missing global mint",
)?;

// Don't bother checking new vs old config. If a token has/had a non-zero
// fee, then we do not allow it for global.
// Prevent transfer from global to market vault if a token has a non-zero fee.
let mint_account_info: &MintAccountInfo = &mint_opt.as_ref().unwrap();
if StateWithExtensions::<Mint>::unpack(&mint_account_info.info.data.borrow())?
.get_extension::<TransferFeeConfig>()
Expand Down

0 comments on commit 0bd19d1

Please sign in to comment.