diff --git a/crates/apps/src/lib/node/ledger/shell/init_chain.rs b/crates/apps/src/lib/node/ledger/shell/init_chain.rs index 1669a5b32d..787e25c4e2 100644 --- a/crates/apps/src/lib/node/ledger/shell/init_chain.rs +++ b/crates/apps/src/lib/node/ledger/shell/init_chain.rs @@ -511,7 +511,6 @@ where continue; }; - let mut total_token_balance = token::Amount::zero(); for (owner, balance) in balances { if let genesis::GenesisAddress::PublicKey(pk) = owner { namada::account::init_account_storage( @@ -535,15 +534,7 @@ where balance.amount(), ) .expect("Couldn't credit initial balance"); - total_token_balance += balance.amount(); } - // Write the total amount of tokens for the ratio - self.state - .write( - &token::storage_key::minted_balance_key(token_address), - total_token_balance, - ) - .unwrap(); } self.proceed_with(()) }