Skip to content

Commit

Permalink
chore: base review improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
red-0ne authored and bryanchriswhite committed Feb 21, 2024
1 parent d20affb commit 4cc23fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/genesis.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package app

import (
"encoding/json"
)
import "encoding/json"

// GenesisState of the blockchain is represented here as a map of raw json
// messages key'd by a identifier string.
Expand Down
4 changes: 2 additions & 2 deletions e2e/tests/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ func (s *suite) buildAppMap() {
s.Fatalf("error getting application list: %s", err)
}
s.pocketd.result = res
var resp apptypes.QueryAllApplicationResponse
var resp apptypes.QueryAllApplicationsResponse
responseBz := []byte(strings.TrimSpace(res.Stdout))
s.cdc.MustUnmarshalJSON(responseBz, &resp)
for _, app := range resp.Application {
for _, app := range resp.Applications {
accNameToAppMap[accAddrToNameMap[app.Address]] = app
}
}
Expand Down

0 comments on commit 4cc23fe

Please sign in to comment.