diff --git a/app/test_helpers.go b/app/test_helpers.go index fd90b3a..30c9092 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -79,7 +79,7 @@ func SetupWithGenesisAccounts( ) *MinitiaApp { app, genesisState := setup(nil, true) - if genAccs == nil || len(genAccs) == 0 { + if len(genAccs) == 0 { privAcc := secp256k1.GenPrivKey() genAccs = []authtypes.GenesisAccount{ authtypes.NewBaseAccount(privAcc.PubKey().Address().Bytes(), privAcc.PubKey(), 0, 0),