Skip to content

Commit

Permalink
update logic add genesis account (cosmos#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanhNhann authored Mar 10, 2023
1 parent 489745d commit 02e3a0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/auth/helpers/genaccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ func AddGenesisAccount(

bankGenState.Balances = banktypes.SanitizeGenesisBalances(bankGenState.Balances)

bankGenState.Supply = bankGenState.Supply.Add(balances.Coins...)

bankGenStateBz, err := cdc.MarshalJSON(bankGenState)
if err != nil {
return fmt.Errorf("failed to marshal bank genesis state: %w", err)
Expand Down

0 comments on commit 02e3a0e

Please sign in to comment.