Skip to content

Commit

Permalink
reverts the update to AddValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Apr 1, 2024
1 parent 221dba4 commit 92b0be2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/util/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,9 @@ func (g *Genesis) AddValidator(val Validator) error {
}

// Add the validator's genesis account
//if err := g.AddAccount(val.Account); err != nil {
// return err
//}

g.accounts = append(g.accounts, val.Account)
if err := g.AddAccount(val.Account); err != nil {
return err
}

// Add the validator's genesis transaction
gentx, err := val.GenTx(g.ecfg, g.kr, g.ChainID)
Expand Down

0 comments on commit 92b0be2

Please sign in to comment.