Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in interface comment #2601

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading