From cd8e91ddb2c45cd7a28650b77c444d5a7ff4c9b8 Mon Sep 17 00:00:00 2001 From: Evan Batsell Date: Wed, 13 Nov 2024 14:49:31 -0500 Subject: [PATCH] last --- program/src/register_mint.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/program/src/register_mint.rs b/program/src/register_mint.rs index ae8fcd81..8fe2b0ed 100644 --- a/program/src/register_mint.rs +++ b/program/src/register_mint.rs @@ -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) {