Skip to content

Commit

Permalink
chore: fix some function names
Browse files Browse the repository at this point in the history
Signed-off-by: bytetigers <bytetiger@icloud.com>
  • Loading branch information
bytetigers committed Aug 13, 2024
1 parent 9d9d432 commit c02b2ed
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 c02b2ed

Please sign in to comment.