diff --git a/protocol/app/process/types.go b/protocol/app/process/types.go index 5da74cc3d4..47fea78160 100644 --- a/protocol/app/process/types.go +++ b/protocol/app/process/types.go @@ -6,11 +6,11 @@ import ( // SingleMsgTx represents a tx with a single msg. type SingleMsgTx interface { - // validate checks if the underlying msg is valid or not. + // Validate checks if the underlying msg is valid or not. // Returns error if invalid. Otherwise, returns nil. Validate() error - // getMsg returns the underlying msg in the tx. + // GetMsg returns the underlying msg in the tx. GetMsg() sdk.Msg } diff --git a/protocol/x/clob/types/orderbook.go b/protocol/x/clob/types/orderbook.go index ba6d1f31bc..d7f39fbbb8 100644 --- a/protocol/x/clob/types/orderbook.go +++ b/protocol/x/clob/types/orderbook.go @@ -194,7 +194,7 @@ const ( // MatchableOrder is an interface that a matchable order must conform to. This interface is used // to generalize matching between standard orders and liquidations. type MatchableOrder interface { - // GetSubaccountID returns the `SubaccountId` of the subaccount that placed the order. + // GetSubaccountId returns the `SubaccountId` of the subaccount that placed the order. // In the case of a `LiquidationOrder`, it refers to the subaccount that is being liquidated. GetSubaccountId() satypes.SubaccountId // GetClobPairId returns the CLOB pair ID that this order should be matched against.