Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names #1610

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func NewInMemoryTendermintNodeProto(t *testing.T, genesisState []byte) (tendermi
return NewInMemoryTendermintNodeProtoWithValidators(t, genesisState, nil)
}

// NewInMemoryTendermintNodeWithValidators will create a TM node with 'n' "validators".
// NewInMemoryTendermintNodeProtoWithValidators will create a TM node with 'n' "validators".
// If "validators" is nil, this creates a pre-leanpokt TM node, else it will enable lean pocket
func NewInMemoryTendermintNodeProtoWithValidators(t *testing.T, genesisState []byte, validators []crypto.PrivateKey) (tendermintNode *node.Node, keybase keys.Keybase, cleanup func()) {
// create the in memory tendermint node and keybase
Expand Down
4 changes: 2 additions & 2 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (app *BaseApp) MountStores(keys ...sdk.StoreKey) {
}
}

// MountStores mounts all IAVL or DB stores to the provided keys in the BaseApp
// MountKVStores mounts all IAVL or DB stores to the provided keys in the BaseApp
// multistore.
func (app *BaseApp) MountKVStores(keys map[string]*sdk.KVStoreKey) {
keys[sdk.ParamsKey.Name()] = sdk.ParamsKey
Expand Down Expand Up @@ -373,7 +373,7 @@ func (app *BaseApp) setConsensusParams(consensusParams *abci.ConsensusParams) {
app.consensusParams = consensusParams
}

// setConsensusParams stores the consensus params to the main store.
// storeConsensusParams stores the consensus params to the main store.
func (app *BaseApp) storeConsensusParams(consensusParams *abci.ConsensusParams) {
consensusParamsBz, err := proto.Marshal(consensusParams)
if err != nil {
Expand Down
Loading