From 625893bd9107411beb5e736efec08f27ad4776f8 Mon Sep 17 00:00:00 2001 From: bytetigers Date: Fri, 23 Aug 2024 16:55:06 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: bytetigers --- x/compute/internal/types/keys.go | 2 +- x/mauth/types/msgs.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/compute/internal/types/keys.go b/x/compute/internal/types/keys.go index 2218c5a01..4320b729e 100644 --- a/x/compute/internal/types/keys.go +++ b/x/compute/internal/types/keys.go @@ -61,7 +61,7 @@ func GetRandomKey(height int64) []byte { return append(RandomPrefix, b...) } -// GetContractAddressKey returns the key for the WASM contract instance +// GetContractEnclaveKey returns the key for the WASM contract instance func GetContractEnclaveKey(addr sdk.AccAddress) []byte { return append(ContractEnclaveIdPrefix, addr...) } diff --git a/x/mauth/types/msgs.go b/x/mauth/types/msgs.go index c70a35c26..3bad1c650 100644 --- a/x/mauth/types/msgs.go +++ b/x/mauth/types/msgs.go @@ -44,7 +44,7 @@ func (msg MsgRegisterAccount) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{accAddr} } -// NewMsgSend creates a new MsgSend instance +// NewMsgSubmitTx creates a new MsgSubmitTx instance func NewMsgSubmitTx(owner sdk.AccAddress, sdkMsg sdk.Msg, connectionID, _ string) (*MsgSubmitTx, error) { anyObj, err := PackTxMsgAny(sdkMsg) if err != nil {