Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: jaekwon <[email protected]>
  • Loading branch information
alexanderbez and jaekwon authored Nov 25, 2018
1 parent ce10ef2 commit 5792e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ func (app *BaseApp) initFromMainStore(mainKey *sdk.KVStoreKey) error {
return errors.New("baseapp expects MultiStore with 'main' KVStore")
}

// memoize mainKey.
// memoize mainKey
if app.mainKey != nil {
panic("app.mainKey expected to be nil; duplicate init?")
}
app.mainKey = mainKey

// load consensus param from the main store
// load consensus params from the main store
consensusParamsBz := mainStore.Get(mainConsensusParamsKey)
if consensusParamsBz != nil {
var consensusParams = &abci.ConsensusParams{}
Expand Down

0 comments on commit 5792e1d

Please sign in to comment.