Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Nov 13, 2024
1 parent 1aedf9e commit cd8e91d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion program/src/register_mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pub fn process_register_mint(program_id: &Pubkey, accounts: &[AccountInfo]) -> P
.checked_div(epoch_length)
.ok_or(TipRouterError::DenominatorIsZero)?;

// TODO: is there a way to DOS this by changing program owner to tiprouter or something before weight table is initialized?
// Once tracked_mints.mint_count() == ncn.vault_count, the weight table can be initialized
// Once the weight table is initialized, you can't add any more mints
if weight_table.owner.eq(&system_program::ID) {
Expand Down

0 comments on commit cd8e91d

Please sign in to comment.