Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Dec 28, 2023
1 parent bb3d816 commit 4962d3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion x/uibc/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ func (msg *MsgGovUpdateQuota) ValidateBasic() error {
errs = append(errs, errors.New("total quota must be greater than or equal to per_denom quota"))
}
if msg.InflowOutflowQuotaBase.LT(msg.InflowOutflowTokenQuotaBase) {
errs = append(errs, errors.New("inflow_outflow_quota_base must be greater than or equal than inflow_outflow_token_quota_base"))
errs = append(errs, errors.New(
"inflow_outflow_quota_base must be greater than or equal than inflow_outflow_token_quota_base"))
}

return errors.Join(errs...)
Expand Down
2 changes: 1 addition & 1 deletion x/uibc/msg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestMsgGovUpdateQuota(t *testing.T) {
msg: invalidTotalQuota,
errMsg: "total quota must be greater than or equal to per_denom quota",
}, {
name: "invalid inflow outflow quota abse with respect to per denom",
name: "invalid inflow outflow quota base with respect to per denom",
msg: invalidInflowOutflow,
errMsg: "inflow_outflow_quota_base must be greater than",
},
Expand Down

0 comments on commit 4962d3c

Please sign in to comment.