Sync up with SDK's latest changes (#24)

This commit is contained in:
Alessio Treglia
2019-05-28 11:16:46 +01:00
committed by GitHub
parent ce9f584b36
commit 787bd94b31
8 changed files with 138 additions and 69 deletions

View File

@@ -1288,7 +1288,7 @@ func TestGaiadAddGenesisAccount(t *testing.T) {
genesisState := f.GenesisState()
cdc := app.MakeCodec()
accounts := genaccounts.GetGenesisStateFromAppState(cdc, genesisState).Accounts
accounts := genaccounts.GetGenesisStateFromAppState(cdc, genesisState)
require.Equal(t, accounts[0].Address, f.KeyAddress(keyFoo))
require.Equal(t, accounts[1].Address, f.KeyAddress(keyBar))