Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking committed Feb 9, 2022
1 parent da086fe commit 4721842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/04-channel/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
var SubModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())

// UnpackAcknowledgement unpacks an Any into an Acknowledgement. It returns an error if the
// acknowledgement can't be unpacked into a Acknowledgement.
// Any can't be unpacked into a Acknowledgement.
func UnpackAcknowledgement(any *codectypes.Any) (exported.Acknowledgement, error) {
if any == nil {
return nil, sdkerrors.Wrap(sdkerrors.ErrUnpackAny, "protobuf Any message cannot be nil")
Expand Down

0 comments on commit 4721842

Please sign in to comment.