Skip to content

Commit

Permalink
Update x/marketmap/types/msg.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler <[email protected]>
  • Loading branch information
aljo242 and technicallyty authored Sep 24, 2024
1 parent 02886b9 commit a66e198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/marketmap/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (m *MsgRemoveMarkets) ValidateBasic() error {
seenMarkets := make(map[string]struct{}, len(m.Markets))
for _, market := range m.Markets {
if _, seen := seenMarkets[market]; seen {
return fmt.Errorf("duplicate address %s found", market)
return fmt.Errorf("duplicate market %s found", market)
}

if _, err := connecttypes.CurrencyPairFromString(market); err != nil {
Expand Down

0 comments on commit a66e198

Please sign in to comment.