Skip to content

Commit

Permalink
update logic add genesis account (#422) (#423)
Browse files Browse the repository at this point in the history
(cherry picked from commit 02e3a0e)

Co-authored-by: Nguyen Thanh Nhan <[email protected]>
  • Loading branch information
mergify[bot] and ThanhNhann authored Mar 11, 2023
1 parent 44b40d4 commit f94c709
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 f94c709

Please sign in to comment.