Skip to content

Commit

Permalink
chore: fix some function names in comment (gnolang#3254)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
</details>

Signed-off-by: cuibuwei <[email protected]>
  • Loading branch information
cuibuwei authored Dec 3, 2024
1 parent bc44a39 commit 3042229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tm2/pkg/p2p/netaddress.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func NewNetAddressFromStrings(idaddrs []string) ([]*NetAddress, []error) {
return netAddrs, errs
}

// NewNetAddressIPPort returns a new NetAddress using the provided IP
// NewNetAddressFromIPPort returns a new NetAddress using the provided IP
// and port number.
func NewNetAddressFromIPPort(id ID, ip net.IP, port uint16) *NetAddress {
return &NetAddress{
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/sdk/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,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 := amino.Marshal(consensusParams)
if err != nil {
Expand Down

0 comments on commit 3042229

Please sign in to comment.