Skip to content

Commit

Permalink
chore: fix some function names in interface comment
Browse files Browse the repository at this point in the history
Signed-off-by: chuangjinglu <[email protected]>
  • Loading branch information
chuangjinglu committed Nov 23, 2024
1 parent 92733ca commit b57c89e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions protocol/app/process/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion protocol/x/clob/types/orderbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b57c89e

Please sign in to comment.