Skip to content

Commit

Permalink
Merge pull request #415 from bytetigers/master
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
taobun committed Sep 2, 2024
2 parents 3dcefaa + c02b2ed commit 9278e9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/obi/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func MustDecode(data []byte, v ...interface{}) {
}
}

// DecodeUnsigned16 decodes the input bytes into `uint8` and returns the remaining bytes.
// DecodeUnsigned8 decodes the input bytes into `uint8` and returns the remaining bytes.
func DecodeUnsigned8(data []byte) (uint8, []byte, error) {
if len(data) < 1 {
return 0, nil, errors.New("obi: out of range")
Expand Down
2 changes: 1 addition & 1 deletion testing/ibctesting/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (chain *TestChain) SendMsgs(msgs ...sdk.Msg) (*sdk.Result, error) {
return r, nil
}

// SendMsgs delivers a transaction through the application. It updates the senders sequence
// SendReport delivers a transaction through the application. It updates the senders sequence
// number and updates the TestChain's headers. It returns the result and error if one
// occurred.
func (chain *TestChain) SendReport(
Expand Down
2 changes: 1 addition & 1 deletion testing/ibctesting/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (coord *Coordinator) SetupClients(path *Path) {
require.NoError(coord.t, err)
}

// SetupClientConnections is a helper function to create clients and the appropriate
// SetupConnections is a helper function to create clients and the appropriate
// connections on both the source and counterparty chain. It assumes the caller does not
// anticipate any errors.
func (coord *Coordinator) SetupConnections(path *Path) {
Expand Down

0 comments on commit 9278e9c

Please sign in to comment.