From 472184277795ba0e8978ce03fcfe4915da554a9b Mon Sep 17 00:00:00 2001 From: Sean King Date: Wed, 9 Feb 2022 18:20:13 +0100 Subject: [PATCH] fix: docs --- modules/core/04-channel/types/codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/04-channel/types/codec.go b/modules/core/04-channel/types/codec.go index 31228f8ff42..6dde9ab1935 100644 --- a/modules/core/04-channel/types/codec.go +++ b/modules/core/04-channel/types/codec.go @@ -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")